Vcl.ComCtrls.TTreeNode.Expanded

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Expanded: Boolean read GetExpanded write SetExpanded;

C++

__property bool Expanded = {read=GetExpanded, write=SetExpanded, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TTreeNode

Description

Specifies whether the tree node is expanded.

When a tree node is expanded, the minus button is shown if the ShowButtons property of the tree view is true and child nodes are displayed. Set Expanded to true to display the children of a node. Set Expanded to false to collapse the node, hiding all of its descendants.

See Also