Back to Devexpress

TreeListMultiSelection.SelectNodes(IEnumerable<TreeListNode>) Method

windowsforms-devexpress-dot-xtratreelist-dot-treelistmultiselection-dot-selectnodes-x28-system-dot-collections-dot-generic-dot-ienumerable-devexpress-dot-xtratreelist-dot-nodes-dot-treelistnode-x29.md

latest2.2 KB
Original Source

TreeListMultiSelection.SelectNodes(IEnumerable<TreeListNode>) Method

Selects the specified nodes (rows).

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
public void SelectNodes(
    IEnumerable<TreeListNode> nodes
)
vb
Public Sub SelectNodes(
    nodes As IEnumerable(Of TreeListNode)
)

Parameters

NameTypeDescription
nodesIEnumerable<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

TreeListMultiSelection Class

TreeListMultiSelection Members

DevExpress.XtraTreeList Namespace