Skip to main content

TreeListNode Members

Represents a node of the Tree List control.

Constructors

Name Description
TreeListNode() Initializes a new instance of the TreeListNode class.

Properties

Name Description
AllNodesCount Returns the total number of nodes for this TreeListNode.
CheckBoxStyle Gets the style of check boxes displayed in the node.
Checked Gets or sets whether the node is checked.
CheckState Gets or sets the node’s check state.
ChildrenCheckBoxStyle Gets or sets whether all child nodes owned by this node should display check boxes, radio buttons, or neither.
Data Obsolete. Gets or sets a value that can be freely used as your specific programming needs dictate.
Expanded Gets or sets whether the node is expanded.
FirstNode Gets the first child node.
Focused Gets whether the node is currently focused.
HasChildren Gets or sets a value indicating whether a node has children.
Id Gets the index of the corresponding record within the associated data source.
ImageIndex Gets or sets the index of the node’s select image from the TreeList.SelectImageList collection displayed when this node is not focused.
IsSelected Gets whether the current node is selected.
Item[Object] Gets or sets a value for a specific column.
LastNode Gets the last child node.
Level Returns the nesting level of a node.
NextNode Returns the next node in the collection.
NextVisibleNode Returns the next visible node after the current node.
Nodes Gets the collection of the node’s children.
ParentNode Gets the parent node of the current tree node.
PrevNode Gets the previous node in the collection.
PrevVisibleNode Returns the visible node located prior to the current node.
RootNode Gets a node at the root level which contains the current node as a child.
RowCount Returns the total number of rows occupied by all child nodes that belong to this node. The row occupied by this TreeListNode itself is not included in the RowCount number.
SelectImageIndex Gets or sets the index of the node’s select image from the TreeList.SelectImageList collection displayed when this node is focused.
SelectImageList Gets the source of select images for nodes.
StateImageIndex Gets or sets the index of the node’s state image from the TreeList.StateImageList collection.
StateImageList Gets the source of state images for nodes.
Tag Gets or sets the data associated with a Tree List node.
TreeList Gets the TreeList object to which the current node belongs.
Visible Gets or sets whether the node is visible. The property allows you to perform node filtering.

Methods

Name Description
Assign(TreeListNode) Copies settings from the target node to this TreeListNode object.
CheckAll() Checks the current node and all its nested nodes (including all their children).
Clone() Returns a copy of this node.
Collapse(Boolean) Collapses the node.
CollapseAll() Collapses all child nodes.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Expand(Boolean) Expands the node.
ExpandAll() Expands all the child nodes.
GetDisplayText(Object) Returns the text representation of a specific column value.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
GetValue(Object) Returns the value for a specific column, or null if no column with such columnID was found.
HasAsParent(TreeListNode) Determines whether the current node has a TreeListNode instance as a parent.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Remove() Removes this node.
SetValue(Object, Object) Sets the value for a specific column.
Sort(TreeListColumn, SortOrder, Boolean) Sorts the node’s children against a column.
Sort(IComparer<TreeListNode>, Boolean) Sorts the nodes’ children using the specified IComparer object.
ToString() Returns a string that represents the current object. Inherited from Object.
UncheckAll() Unchecks the current node and all its nested nodes (including all their children).
See Also