API:Vcl.ComCtrls.TTreeView.ShowRoot

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ShowRoot: Boolean read FShowRoot write SetRootStyle default 1;

C++

__property ShowRoot = {default=1};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TTreeView

Description

Specifies whether lines connecting top-level nodes are displayed.

Vcl.ComCtrls.TTreeView.ShowRoot inherits from Vcl.ComCtrls.TCustomTreeView.ShowRoot. All content below this line refers to Vcl.ComCtrls.TCustomTreeView.ShowRoot.

Specifies whether lines connecting top-level nodes are displayed.

To show lines connecting top-level nodes to a single root, set the tree view's ShowRoot and ShowLines properties to true.

See Also