Skip to main content

TcxCustomTreeList.VisibleCount Property

Returns the number of visible nodes.

Declaration

property VisibleCount: Integer read;

Property Value

Type
Integer

Remarks

Nodes that are located beyond the View’s boundaries or partially clipped by the View’s boundaries, and children of collapsed parents are not taken into account.

For indexed access to nodes available in the View (including nodes that are beyond the boundaries), use the AbsoluteVisibleItems property. This property provides a flat list of nodes to be displayed in the View. To access a subset of nodes that relate to the VisibleCount, use the tree list’s TopVisibleNode and LastVisibleNode‘s AbsoluteIndex properties as bounds of a subset.

See Also