Skip to main content

TreeListControl.UnselectItem(TreeListNode) Method

Unselects the specified node.

Namespace: DevExpress.Xpf.Grid

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

#Declaration

public void UnselectItem(
    TreeListNode node
)

#Parameters

Name Type Description
node TreeListNode

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 TreeListControl.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 Selection.

See Also