TreeListMultiSelection.IndexOf(TreeListNode) Method
In This Article
Determines the index of a specific TreeListNode object in the collection of selected nodes.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v24.2.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
#Declaration
public int IndexOf(
TreeListNode node
)
#Parameters
Name | Type | Description |
---|---|---|
node | Tree |
A Tree |
#Returns
Type | Description |
---|---|
Int32 | The zero-based index of a specific Tree |
#Remarks
If a specific node is not selected, the IndexOf method returns -1.
See Also