Back to Devexpress

TreeListControlBase.UnselectItem(TreeListNode) Method

wpf-devexpress-dot-xpf-dot-grid-dot-treelistcontrolbase-dot-unselectitem-x28-devexpress-dot-xpf-dot-grid-dot-treelistnode-x29.md

latest2.0 KB
Original Source

TreeListControlBase.UnselectItem(TreeListNode) Method

Unselects the specified node.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public void UnselectItem(
    TreeListNode node
)
vb
Public Sub UnselectItem(
    node As TreeListNode
)

Parameters

NameTypeDescription
nodeTreeListNode

A TreeListNode object that is the node to unselect.

|

Remarks

The UnselectItem method allows you to unselect the required node preserving the current selection. To select a node, use the TreeListControlBase.SelectItem method.

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

To learn more, see Multiple Row Selection.

See Also

UnselectAll()

SelectItem(TreeListNode)

SelectAll()

TreeListControlBase Class

TreeListControlBase Members

DevExpress.Xpf.Grid Namespace