TreeListMultiSelection.SelectNodes(IEnumerable<TreeListNode>) Method
In This Article
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<Tree |
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