Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxTreeListNode.IndexOf(TcxTreeListNode) Method

Returns the specified node’s index among this node’s children.

#Declaration

Delphi
function IndexOf(ANode: TcxTreeListNode): Integer;

#Parameters

Name Type
ANode TcxTreeListNode

#Returns

Type
Integer

#Remarks

Call this function to obtain the specified node index among this node’s children. If the node specified via the ANode parameter is not among this node’s children, the function returns -1.

You can also use the node’s Index property to obtain its index among its parent’s child collection.

See Also