Back to Devexpress

TreeListView.UnselectNode(TreeListNode) Method

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-dot-unselectnode-x28-devexpress-dot-xpf-dot-grid-dot-treelistnode-x29.md

latest2.1 KB
Original Source

TreeListView.UnselectNode(TreeListNode) Method

OBSOLETE

Use the UnselectItem method instead

Unselects the specified node.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
[Obsolete("Use the DataControlBase.UnselectItem method instead")]
[Browsable(false)]
public void UnselectNode(
    TreeListNode node
)
vb
<Obsolete("Use the DataControlBase.UnselectItem method instead")>
<Browsable(False)>
Public Sub UnselectNode(
    node As TreeListNode
)

Parameters

NameTypeDescription
nodeTreeListNode

A TreeListNode object that is the node to unselect.

|

Remarks

The UnselectNode method allows you to unselect the required node preserving the current selection. To select a node, use the TreeListView.SelectNode method.

To clear the current selection, use the DataControlBase.UnselectAll method. To select all nodes, use the DataViewBase.SelectAll method.

To learn more, see Multiple Row Selection.

See Also

UnselectAll()

SelectItem(Int32)

SelectAll()

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace