NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DrawItemEventArgs Properties

The properties of the DrawItemEventArgs class are listed below. For a complete list of DrawItemEventArgs class members, see the DrawItemEventArgs Members topic.

Public:

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.

See Also

DrawItemEventArgs Class | System.WinForms Namespace