Node Object
A Node object represents an individual nodes in the TreeView
control. It can contain icons and text.
Client Support
Newlook Smartclient only.
Use
Nodes can consist of both icons and text. To use icons you must
associate an ImageList control with the treeview control via the Icons and/or StateIcons property.
There are two ways to create nodes in a tree view control, via the Node editor in Designer and dynamically via a script or macro.
Properties
Newlook Smartclient |
Newlook Server |
Deprecated
|
Obsolete
BackColor
|
|
Gets or sets the background color of the object.
|
Checked
|
|
Returns the item's checked state. Runtime-only. Smartclient-only.
|
ChildNode
|
|
Returns the first child node. Runtime-only.
|
Expanded
|
|
Returns the item's expanded state. Runtime-only. Smartclient-only.
|
ForeColor
|
|
Gets or sets the foreground (text) color of the control.
|
Icon
|
|
Gets or sets the index of the icon to display in the item.
|
Key
|
|
Returns a GUID which can be used to reference the item. Runtime-only property. Smartclient-only.
|
NextNode
|
|
Returns the next node at the same level. Runtime-only.
|
ParentNode
|
|
Returns the parent node of the current node. Runtime-only.
|
PreviousNode
|
|
Returns the previous node at the same level. Runtime-only.
|
Selected
|
|
Returns the item's selected state. Runtime-only. Smartclient-only.
|
SelectedIcon
|
|
Gets of sets the index of the icon to display when the node is currently selected by the user. Smartclient-only. Obsolete
|
Tag
|
|
Gets or sets user defined information for the control.
|
Text
|
|
Gets or sets the current value of the control or object.
|
See Also
Nodes
property | Nodes collection
Applies To
TreeView Control
©
2004-2021 looksoftware.
All rights reserved.