C# Class NClass.AssemblyImport.Controls.ControlDrawHelper

Mostra file Open project: gbaychev/NClass Class Usage Examples

Public Methods

Method Description
DrawImageComboBoxItem ( Graphics graphics, object value, ImageList imageList, Size imageSize, Rectangle bounds, Font font, Color foreColor ) : void

Draws a single combobox item.

Method Details

DrawImageComboBoxItem() public static method

Draws a single combobox item.
public static DrawImageComboBoxItem ( Graphics graphics, object value, ImageList imageList, Size imageSize, Rectangle bounds, Font font, Color foreColor ) : void
graphics System.Drawing.Graphics An instance of used to draw the item.
value object The item to draw. If null, nothing is drawn.
imageList System.Windows.Forms.ImageList An to take the images from (if no image is given via the item).
imageSize System.Drawing.Size The size of the image area. If no image is present, this place won't be drawn.
bounds System.Drawing.Rectangle A representing the area of the item.
font System.Drawing.Font The font of the text.
foreColor System.Drawing.Color The color of the text.
return void