Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomTreeView.ClearSelection(Boolean) Method

Clear a tree node selection.

#Declaration

Delphi
procedure ClearSelection(AKeepPrimary: Boolean = False);

#Parameters

Name Type Description
AKeepPrimary Boolean

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