Skip to main content

TcxTreeListNode.AbsoluteIndex Property

Returns the node’s index in the TreeList control.

Declaration

property AbsoluteIndex: Integer read;

Property Value

Type
Integer

Remarks

Indexes start from the root node with index -1. Its first child node (the first root level node) has index 0. Then, the child nodes of this node are indexed, if any. When all child nodes of a node are indexed, indexing continues from the next node at the upper level. In other words, indexes are assigned to nodes as if all nodes in the TreeList control are expanded.

The following image explains node indexing:

Note

The AbsoluteIndex property value is updated when the node order is changed.

See Also