Back to Devexpress

TdxCustomTreeView.ClearSelection(Boolean) Method

vcl-dxtreeview-dot-tdxcustomtreeview-dot-clearselection-x28-system-dot-boolean-x29.md

latest1020 B
Original Source

TdxCustomTreeView.ClearSelection(Boolean) Method

Clear a tree node selection.

Declaration

delphi
procedure ClearSelection(AKeepPrimary: Boolean = False);

Parameters

NameTypeDescription
AKeepPrimaryBoolean

If False , the procedure deselects all tree nodes. If True , the procedure clears the selection and selects the focused node.

|

Remarks

You can call the Tree View’s Deselect procedure to deselect specific nodes.

Note

A ClearSelection procedure call has no effect if only one node is selected and the procedure accepts True as a parameter.

See Also

TdxCustomTreeView Class

TdxCustomTreeView Members

dxTreeView Unit