TreeList.GetNodeIndex(TreeListNode) Method

Gets the specified node's index.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll


public int GetNodeIndex(
    TreeListNode node
Public Function GetNodeIndex(
    node As TreeListNode
) As Integer


Name Type Description
node TreeListNode

A TreeListNode object representing the node whose index is to be obtained.


Type Description

An integer value representing the destination position of the node within its parent node's child collection. -1 if the specified node is a null reference or doesn't belong to any node collection.

See Also