Vcl.Outline.TOutlineNode.Collapse
Delphi
procedure Collapse;
C++
void __fastcall Collapse();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Outline.pas Vcl.Outline.hpp |
Vcl.Outline | TOutlineNode |
Description
Collapses an outline item.
Collapse sets the Expanded property to false. 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.
Collapse does nothing to nodes that have no descendants.