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

TcxCustomGrid.ViewCount Property

Gets the number of all Views contained within the current grid control.

#Declaration

Delphi
property ViewCount: Integer read;

#Property Value

Type
Integer

#Remarks

The ViewCount property returns the number of Views owned by a grid control. See the Views property to access a particular View by its index. This property stores all Views created by the CreateView method. A View to be displayed on screen must be associated with a grid level via the TcxGridLevel.GridView property.

See Also