Back to Devexpress

TcxCustomGrid.ViewCount Property

vcl-cxgrid-dot-tcxcustomgrid-6f972cff.md

latest987 B
Original Source

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

TcxCustomGrid.Views

TcxCustomGrid Class

TcxCustomGrid Members

cxGrid Unit