Vcl.ComCtrls.TCustomTreeView.ClearSelection

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

virtual void __fastcall ClearSelection(bool KeepPrimary = false);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomTreeView

Description

Deselect all selected nodes, optionally excluding primary selection.

ClearSelection deselects all selected nodes. If the KeepPrimary parameter is true, the primary selection (in the first element of the Selections property) is not toggled.

See Also