Back to Devexpress

TreeListMultiSelection.Set(TreeListNode) Method

windowsforms-devexpress-dot-xtratreelist-dot-treelistmultiselection-dot-set-x28-devexpress-dot-xtratreelist-dot-nodes-dot-treelistnode-x29.md

latest1.7 KB
Original Source

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

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

Declaration

csharp
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public void Set(
    TreeListNode node
)
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Sub Set(
    node As TreeListNode
)

Parameters

NameTypeDescription
nodeTreeListNode

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

TreeListMultiSelection Class

TreeListMultiSelection Members

DevExpress.XtraTreeList Namespace