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

TcxTreeListBand.ColumnCount Property

Returns the number of columns associated with the current band.

#Declaration

Delphi
property ColumnCount: Integer read;

#Property Value

Type
Integer

#Remarks

This property returns the number of elements within the Columns collection. To access all columns created within the TreeList control, use its Columns zero-based indexed collection.

To determine the number of columns that are visible within a band, use its VisibleColumnCount property.

Note

If a band is not a bottom band, the ColumnCount property returns 0.

See Also