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.SelectNodes(IEnumerable<TreeListNode>) Method

Selects the specified nodes (rows).

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

public void SelectNodes(
    IEnumerable<TreeListNode> nodes
)

#Parameters

Name Type Description
nodes IEnumerable<TreeListNode>

A collection of nodes to select.

#Remarks

The SelectNodes method selects the specified nodes. To discard the selection, use the TreeListMultiSelection.UnselectNode or TreeListMultiSelection.UnselectNodes methods.

This method is not in effect in multiple node selection is disabled (see TreeListOptionsSelection.MultiSelect).

After the selection changes, the TreeList.SelectionChanged event raises.

See Also