.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

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.v20.2.dll

Declaration

[DefaultValue(10)]
public int PageSize { get; set; }
<DefaultValue(10)>
Public Property PageSize As Integer

Property Value

Type Description
Int32

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