The requested page is not available for the requested platform. You are viewing the content for Default platform.

XafDataView.Count Property

Gets the number of data records contained in the XafDataView.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public int Count { get; }
Public ReadOnly Property Count As Integer

Property Value

Type Description
Int32

An integer which is the number of data records.

Remarks

This method retrieves data from the database and populates the data view's records list if this list is not yet initialized. Otherwise, the cached data records list is used. To remove the cache, use the XafDataView.Reload method.

Count is zero if the data view is disposed via the XafDataView.Dispose method.

See Also