The
Node object holds information about control's node. Use the
Nodes
property to access the control's
Nodes
collection. Use the
Add method to add a new node
to the control. Use the
Editors property to
access the control's editors. The Node object supports the following
properties and methods:
| |  | Name | Description | |
| | | BackColor | Specifies the node's background color. | |
| | | BackColorChild | Specifies the default background color for child nodes. | |
| | | BackColorValue | Specifies the background color for the node's value. | |
| | | ClearBackColor | Clears the node's background color. | |
| | | ClearBackColorChild | Clears the default background color for child nodes. | |
| | | ClearBackColorValue | Clears the background of the node's value. | |
| | | ClearForeColor | Clears the node's foreground color. | |
| | | ClearForeColorChild | Clears the default foreground color for the child nodes. | |
| | | ClearForeColorValue | Clears the foreground color for the node's value. | |
| | | CollapseAll | Collapses all the child nodes. | |
| | | Editor | Specifies a value that indicates the key of the node's editor. | |
| | | Enabled | Specifies whether the node is enabled or disabled. | |
| | | ExpandAll | Expands all the child nodes. | |
| | | Expanded | Specifies whether a node is expanded or collapsed. | |
| | | FirstNode | Gets the first child tree node in the tree node collection. | |
| | | ForeColor | Specifies the node's background color. | |
| | | ForeColorChild | Specifies the default foreground color for child nodes. | |
| | | ForeColorValue | Specifies the foreground color for the node's value. | |
| | | HasChilds | Specifies whether the node contains child nodes. | |
| | | Image | Retrieves or sets a value that indicates the index of icon to display in the node. | |
| | | Index | Retrieves the index of the node within the collection. | |
| | | IsChildOf | Specifies whether a node is child of another node. | |
| | | Key | Retrieves the node's key. | |
| | | LastNode | Gets the last child tree node. | |
| | | Level | Specifies the node's level. | |
| | | Name | Specifies the caption of the node. | |
| | | NextNode | Gets the next sibling tree node. | |
| | | NextVisibleNode | Gets the next visible tree node. | |
| | | Nodes | Gets the collection of Node objects assigned to the current node. | |
| | | Parent | Retrieves the parent node. | |
| | | Picture | Assign a picture to a node. | |
| | | Position | Specifies the position of the node within the nodes collection. | |
| | | PrevNode | Gets the previous sibling tree node. | |
| | | PrevVisibleNode | Gets the previous visible tree node. | |
| | | Selected | Specifies whether the node is selected. | |
| | | ToolTip | Specifies the node's tooltip. | |
| | | UserData | Associates an extra data to the node. | |
| | | Value | Specifies the value of the node. | |
| | | Visible | Specifies whether a node is visible or hidden. | |