Skip to main content
.NET Framework 4.5.2+

CollectionSourceBase.GetCount() Method

Returns the number of objects contained in the Collection Source’s CollectionSourceBase.Collection.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v22.2.dll

NuGet Package: DevExpress.ExpressApp


public virtual int GetCount()


Type Description

The number of objects that are contained in the current Collection Source’s collection.


Use this property to count the objects in the Collection Source’s collection. When deriving from the CollectionSourceBase class, override this method to return the Collection Source’s count of objects.

See Also