TreeListMultiSelection.Item[Int32] Property
Gets a TreeListNode object from the collection of selected nodes referenced by the specified index.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v24.1.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
Declaration
Parameters
Name | Type | Description |
---|---|---|
index | Int32 | The index of the selected node to retrieve. |
Property Value
Type | Description |
---|---|
TreeListNode | A selected node referenced by the specified index. |
Example
The following code expands all selected nodes.
for(int i = 0; i < treeList1.Selection.Count; i++)
treeList1.Selection[i].Expanded = true;
See Also