The properties of System.Windows.Forms.TreeNode are listed below. For a list of all members, see the TreeNode Members list.
See Also: Inherited members from System.MarshalByRefObject
| BackColor | System.Drawing.Color.
Gets or sets the background color of the tree node. | |
| [read-only] | Bounds | System.Drawing.Rectangle.
Gets the bounds of the tree node. |
| Checked | bool.
Gets or sets a value indicating whether the tree node is in a checked state. | |
| ContextMenu | ContextMenu.
Gets the shortcut menu that is associated with this tree node. | |
| ContextMenuStrip | ContextMenuStrip.
Gets or sets the shortcut menu associated with this tree node. | |
| [read-only] | FirstNode | TreeNode.
Gets the first child tree node in the tree node collection. |
| ForeColor | System.Drawing.Color.
Gets or sets the foreground color of the tree node. | |
| [read-only] | FullPath | string.
Gets the path from the root tree node to the current tree node. |
| [read-only] | Handle | IntPtr.
Gets the handle of the tree node. |
| ImageIndex | int.
Gets or sets the image list index value of the image displayed when the tree node is in the unselected state. | |
| ImageKey | string.
Gets or sets the key for the image associated with this tree node when the node is in an unselected state. | |
| [read-only] | Index | int.
Gets the position of the tree node in the tree node collection. |
| [read-only] | IsEditing | bool.
Gets a value indicating whether the tree node is in an editable state. |
| [read-only] | IsExpanded | bool.
Gets a value indicating whether the tree node is in the expanded state. |
| [read-only] | IsSelected | bool.
Gets a value indicating whether the tree node is in the selected state. |
| [read-only] | IsVisible | bool.
Gets a value indicating whether the tree node is visible or partially visible. |
| [read-only] | LastNode | TreeNode.
Gets the last child tree node. |
| [read-only] | Level | int.
Gets the zero-based depth of the tree node in the System.Windows.Forms.TreeView control. |
| Name | string.
Gets or sets the name of the tree node. | |
| [read-only] | NextNode | TreeNode.
Gets the next sibling tree node. |
| [read-only] | NextVisibleNode | TreeNode.
Gets the next visible tree node. |
| NodeFont | System.Drawing.Font.
Gets or sets the font that is used to display the text on the tree node label. | |
| [read-only] | Nodes | TreeNodeCollection.
Gets the collection of System.Windows.Forms.TreeNode objects assigned to the current tree node. |
| [read-only] | Parent | TreeNode.
Gets the parent tree node of the current tree node. |
| [read-only] | PrevNode | TreeNode.
Gets the previous sibling tree node. |
| [read-only] | PrevVisibleNode | TreeNode.
Gets the previous visible tree node. |
| SelectedImageIndex | int.
Gets or sets the image list index value of the image that is displayed when the tree node is in the selected state. | |
| SelectedImageKey | string.
Gets or sets the key of the image displayed in the tree node when it is in a selected state. | |
| StateImageIndex | int.
Gets or sets the index of the image that is used to indicate the state of the System.Windows.Forms.TreeNode when the parent System.Windows.Forms.TreeView has its TreeView.CheckBoxes property set to false. | |
| StateImageKey | string.
Gets or sets the key of the image that is used to indicate the state of the System.Windows.Forms.TreeNode when the parent System.Windows.Forms.TreeView has its TreeView.CheckBoxes property set to false. | |
| Tag | object.
Gets or sets the object that contains data about the tree node. | |
| Text | string.
Gets or sets the text displayed in the label of the tree node. | |
| ToolTipText | string.
Gets or sets the text that appears when the mouse pointer hovers over a System.Windows.Forms.TreeNode. | |
| [read-only] | TreeView | TreeView.
Gets the parent tree view that the tree node is assigned to. |