Defines constants that represent the possible states of a System.Windows.Forms.TreeNode.
This enumeration is used by the DrawTreeNodeEventArgs.State property of the System.Windows.Forms.DrawTreeNodeEventArgs class. For more information, see the TreeView.DrawNode event.
| Member Name | Description |
|---|---|
| Checked |
The node is checked. |
| Default |
The node is in its default state. |
| Focused |
The node has focus. |
| Grayed |
The node is disabled. |
| Hot |
The node is hot. This state occurs when the TreeView.HotTracking property is set to true and the mouse pointer is over the node. |
| Indeterminate |
The node in an indeterminate state. |
| Marked |
The node is marked. |
| Selected |
The node is selected. |
| ShowKeyboardCues |
The node should indicate a keyboard shortcut. |