public event DrawItemEventHandler DrawItemImage
Public Event DrawItemImage As DrawItemEventHandler
public:
event DrawItemEventHandler^ DrawItemImage {
void add (DrawItemEventHandler^ value);
void remove (DrawItemEventHandler^ value);
}
member DrawItemImage : IEvent<DrawItemEventHandler,
DrawItemEventArgs>
The event is passed a DrawItemEventArgs object. The following properties in it are set:
Property | Description |
---|---|
BackColor | The background color for the combo box. |
Bounds | The bounds of the area for the image. |
Font | The font being used by the combo box. |
ForeColor | The foreground color for the combo box. |
Graphics | The graphics object that can be used to draw the image. |
Index | The index of the currently selected item. |
State | The current item state(s) for the combo box. This can be None or one or more of the values Disabled, Focus, and/or Selected. |