Vcl.ComCtrls.TCustomTreeView.ShowButtons
Delphi
property ShowButtons: Boolean read FShowButtons write SetButtonStyle default True;
C++
__property bool ShowButtons = {read=FShowButtons, write=SetButtonStyle, default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomTreeView |
Description
Specifies whether to display plus (+) and minus (-) buttons to the left side of each parent item.
If ShowButtons is true, a button will appear to the left of each parent item. The user can click the button to expand or collapse the child items as an alternative to double-clicking the parent item.