Vcl.Outline.TOutlineNode.HasItems

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property HasItems: Boolean read HasChildren;

C++

__property bool HasItems = {read=HasChildren, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Outline.pas
Vcl.Outline.hpp
Vcl.Outline TOutlineNode

Description

Indicates whether the outline node has any subnodes.

Read HasItem to determine whether the outline node is a leaf node. Depending on the OutlineStyle property of the outline that contains the node, leaf nodes may appear with the leaf bitmap. If the node is not a leaf, subnodes appear below and indented from the node when it is expanded.

HasItem returns true if the node has any descendants, even if the node is collapsed and the descendants are not visible. HasItem returns false if the node is a leaf node.

See Also