Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomTreeList.VisibleCount Property

Returns the number of visible nodes.

#Declaration

Delphi
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