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

TreeListMultiSelection.Set(TreeListNode) Method

Removes all nodes from the collection of selected nodes and then adds a specific node to the collection.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public void Set(
    TreeListNode node
)

#Parameters

Name Type Description
node TreeListNode

The node to select.

#Remarks

The Set method unselects all nodes and then selects a specific node.

To set selection for a group of nodes you can use another Set method with the INumerable object as a parameter.

See Also