Skip to main content
.NET 6.0+

XPView.SkipReturnedRecords Property

Gets or sets the number of records to exclude when populating the view.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

[DefaultValue(0)]
public int SkipReturnedRecords { get; set; }

Property Value

Type Default Description
Int32 0

An integer value that specifies the number of records to exclude when populating the view. 0 indicates that records are not excluded.

Remarks

If the property value is greater than 0, then the view skips the first SkipReturnedRecords records which match the view’s XPView.Criteria, and retrieves the number of records specified by the XPView.TopReturnedRecords property. So, SkipReturnedRecords is applied before XPView.TopReturnedRecords.

Note

Use the SkipReturnedRecords property to adjust an XPView‘s record retrieval options before it’s loaded. Once the view is loaded, changing this property has no effect. To make the changes take effect, you need to manually reload the view.

See Also