Specifies the state of an item that is being drawn.
[Visual Basic] Public Enum DrawItemState [C#] public enum DrawItemState [C++] public enum DrawItemState
[JScript] In JScript, you can use the enumerations in the NGWS frameworks, but you cannot define your own.
The State property uses this enumeration.
Member Name | Description |
---|---|
Checked | The item is checked. Only menu controls use this value. |
ComboBoxEdit | The item is the editing portion of a ComboBox. |
Default | The item is the default item of the control. |
Disabled | The item is disabled. |
Focus | The item has focus. |
Grayed | The item is grayed. Only menu controls use this value. |
HotLight | The item is being hot-tracked. |
Inactive | The item is inactive. |
NoAccelerator | The item displays without a keyboard accelarator. |
NoFocusRect | The item displays without the visual cue that indicates it has the focus. |
None | The item is in its default visual state. |
Selected | The item is selected. |
Namespace: System.WinForms
Assembly: System.WinForms.dll