Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

XPPageSelector.PageSize Property

Gets or sets the maximum number of persistent objects that can be contained in a single page.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

[DefaultValue(10)]
public int PageSize { get; set; }

Property Value

Type Default Description
Int32 10

An integer value which specifies the maximum number of persistent objects that can be contained in a single page. If less than or equal to 0, an ArgumentOutOfRangeException is raised.

Remarks

By default, the PageSize property’s value is 10. Setting this property to a new value sets the XPPageSelector.CurrentPage property to 0.

See Also