RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTreeNode.Expanded Property

Specifies whether the tree node is expanded.

Pascal
property Expanded: Boolean;
C++
__property Boolean 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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!