Skip to main content
.NET Framework 4.6.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.v24.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