RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOutlineNode.Expanded Property

Determines whether descendants of the outline node are displayed.

Pascal
property Expanded: Boolean;
C++
__property Boolean Expanded;

Set Expanded to true to display all subnodes of a node. When an outline node is expanded, its descendants are displayed and, depending on the OutlineStyle property of the outline in which the node is contained, the minus picture or open picture is displayed. 

Set Expanded to false to collapse the node. When an outline node is collapsed, its descendants are hidden and, depending on the OutlineStyle property of the outline in which the node is contained, the plus picture or closed picture is displayed. 

Expanded is not meaningful for nodes that have no descendants. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!