Back to Devexpress

TreeListNode Members

windowsforms-devexpress-dot-xtratreelist-dot-nodes-dot-treelistnode-dot-underscore-members.md

latest10.7 KB
Original Source

TreeListNode Members

Represents a node of the Tree List control.

Constructors

NameDescription
TreeListNode()Initializes a new instance of the TreeListNode class.

Properties

NameDescription
AllNodesCountReturns the total number of nodes for this TreeListNode.
CheckBoxStyleGets the style of check boxes displayed in the node.
CheckedGets or sets whether the node is checked.
CheckStateGets or sets the node’s check state.
ChildrenCheckBoxStyleGets or sets whether all child nodes owned by this node should display check boxes, radio buttons, or neither.
DataObsolete. Gets or sets a value that can be freely used as your specific programming needs dictate.
ExpandedGets or sets whether the node is expanded.
FirstNodeGets the first child node.
FocusedGets whether the node is currently focused.
HasChildrenGets or sets a value indicating whether a node has children.
IdGets the index of the corresponding record within the associated data source.
ImageIndexGets or sets the index of the node’s select image from the TreeList.SelectImageList collection displayed when this node is not focused.
IsSelectedGets whether the current node is selected.
Item[Object]Gets or sets a value for a specific column.
LastNodeGets the last child node.
LevelReturns the nesting level of a node.
NextNodeReturns the next node in the collection.
NextVisibleNodeReturns the next visible node after the current node.
NodesGets the collection of the node’s children.
ParentNodeGets the parent node of the current tree node.
PrevNodeGets the previous node in the collection.
PrevVisibleNodeReturns the visible node located prior to the current node.
RootNodeGets a node at the root level which contains the current node as a child.
RowCountReturns 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.
SelectImageIndexGets or sets the index of the node’s select image from the TreeList.SelectImageList collection displayed when this node is focused.
SelectImageListGets the source of select images for nodes.
StateImageIndexGets or sets the index of the node’s state image from the TreeList.StateImageList collection.
StateImageListGets the source of state images for nodes.
TagGets or sets the data associated with a Tree List node.
TreeListGets the TreeList object to which the current node belongs.
VisibleGets or sets whether the node is visible. The property allows you to perform node filtering.

Methods

NameDescription
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) staticDetermines 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() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines 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

TreeListNode Class

DevExpress.XtraTreeList.Nodes Namespace