Back to Devexpress

IModelListView.TopReturnedObjects Property

expressappframework-devexpress-dot-expressapp-dot-model-dot-imodellistview-dd6cb67c.md

latest1.9 KB
Original Source

IModelListView.TopReturnedObjects Property

Specifies the number of objects retrieved by the collection of the List View‘s Collection Source from the database.

Namespace : DevExpress.ExpressApp.Model

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
[DefaultValue(0)]
int TopReturnedObjects { get; set; }
vb
<DefaultValue(0)>
Property TopReturnedObjects As Integer

Property Value

TypeDefaultDescription
Int320

An integer value specifying collection specifying the number of objects retrieved by the collection of the List View’s Collection Source from the database. 0 indicates that all objects are retrieved.

|

Remarks

The TopReturnedObjects property has no effect in Server, ServerView, InstantFeedback, and InstantFeedbackView mode. To limit the number of objects displayed by a List View, disable Server mode.

The TopReturnedObjects property has no effect in nested list views.

See Also

IModelListView Interface

IModelListView Members

DevExpress.ExpressApp.Model Namespace