Sign in Join
FPDoc Onlineexperiment

TTreeNode.IsVisible property

Member of TTreeNodepublicIn unit ComCtrls

True if the node is visible.

Declaration

pascal
property IsVisible: Boolean read IsNodeVisible;

Description

IsVisible is a read-only Boolean property which indicates if the tree node is visible in the associated TreeView control. IsVisible is True if the node can be seen in the display area for the control. The property value is False when an ancestor node is collapsed (not Expanded).

The IsNodeVisible method in TreeView is called to get the value for the property. If TreeView has not been assigned, the ParentsExpandedVisible method is called to get the property value.

IsNodeVisible is used in the Repaint method in TTreeNodes, and in the SelectionVisible method in TCustomTreeView.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.