Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

#Declaration

public TreeListNode this[int index] { get; }

#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