TreeList.SetSelectionAnchor(TreeListNode, TreeListColumn) Method

When users select multiple nodes, the selection starts from the selection anchor, rather than the currently focused node. Call the SetSelectionAnchor method to set this selection anchor.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

public void SetSelectionAnchor(
    TreeListNode node,
    TreeListColumn column
)
Public Sub SetSelectionAnchor(
    node As TreeListNode,
    column As TreeListColumn
)

Parameters

Name Type Description
node TreeListNode

The node to set the selection anchor on.

column TreeListColumn

The column to set the selection anchor on.

See Also