Skip to main content

TcxCustomTreeView.ClearSelection(Boolean) Method

Deselects all nodes.

Declaration

procedure ClearSelection(KeepPrimary: Boolean = False); virtual;

Parameters

Name Type Description
KeepPrimary Boolean

Optional. If True, the last selected node remains selected. If False, a ClearSelection procedure call deselects all nodes.

Remarks

To deselect an individual node, call the Deselect procedure.

See Also