TreeList.GetNodeIndex(TreeListNode) Method
In This Article
Gets the specified node’s index.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v24.2.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
#Declaration
public int GetNodeIndex(
TreeListNode node
)
#Parameters
Name | Type | Description |
---|---|---|
node | Tree |
A Tree |
#Returns
Type | Description |
---|---|
Int32 | 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