GridLevelNodeCollection.IndexOf(GridLevelNode) Method
Returns the index of the specified node in the collection.
Namespace: DevExpress.XtraGrid
Assembly: DevExpress.XtraGrid.v24.1.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
Declaration
Parameters
Name | Type | Description |
---|---|---|
node | GridLevelNode | A GridLevelNode object representing the node in the collection whose index is required. |
Returns
Type | Description |
---|---|
Int32 | An integer value representing the zero-based index of the specified node in the collection; -1 if the node isn’t found in the collection. |
Remarks
The nodes’ indexes define the order in which the master-detail relationships associated with the nodes are displayed in the XtraGrid.
See Also