Skip to main content

TreeListMultiSelection.SelectNodes(IEnumerable<TreeListNode>) Method

Selects the specified nodes (rows).

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v23.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