Vcl.Outline.TOutlineNode.Expand
Delphi
procedure Expand;
C++
void __fastcall Expand(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Outline.pas Vcl.Outline.hpp |
Vcl.Outline | TOutlineNode |
Description
Expands an outline item.
Expand sets the Expanded property to true. 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.
Expand does nothing to nodes that have no descendants.
Note: Expand only ensures that the immediate children of a node are visible. To expand all descendants of a node, use the FullExpand method.