Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TreeList.SetSelectionAnchor(TreeListNode, TreeListColumn) Method

In This Article

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.v24.2.dll

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

#Declaration

public void SetSelectionAnchor(
    TreeListNode node,
    TreeListColumn column
)

#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