The properties of the DrawItemEventArgs class are listed below. For a complete list of DrawItemEventArgs class members, see the DrawItemEventArgs Members topic.
Bounds | The rectangle outlining the area in which the painting should be done. |
ExtendedInfo (inherited from EventArgs) | Holds a reference to an object that manages the event's state. |
Font | A suggested font, usually the parent control's Font property. |
ForeColor | A suggested color drawing: either SystemColors.WindowText or SystemColors.HighlightText, depending on whether this item is selected. |
Graphics | Graphics object with which painting should be done. |
Index | The index of the item that should be painted. |
State | Miscellaneous state information, such as whether the item is "selected", "focused", or some other such information. ComboBoxes have one special piece of information which indicates if the item being painted is the editable portion of the ComboBox. |