Skip to main content

TreeListMultiSelection.SelectNode(TreeListNode) Method

Selects the specified node (row).

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.1.dll

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

Declaration

public void SelectNode(
    TreeListNode node
)

Parameters

Name Type Description
node TreeListNode

A node to select.

Remarks

If multiple selection in the current TreeList is made by nodes (rows) (the TreeListOptionsSelection.MultiSelectMode property is set to RowSelect), the SelectNode method selects the specified node (the node is added to the TreeList.Selection collection). If multiple selection is made by cells (TreeListOptionsSelection.MultiSelectMode equals CellSelect), the SelectNode method selects all cells of the specified node.

See Also