Skip to main content
A newer version of this page is available. .

TreeListMultiSelection.SelectNodes(IEnumerable<TreeListNode>) Method

Selects the specified nodes (rows).

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v19.2.dll

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