Skip to main content
.NET Framework 4.5.2+

XPPageSelector.CurrentPage Property

Gets or sets the current page in the pageable collection.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v21.2.dll


public int CurrentPage { get; set; }

Property Value

Type Description

An integer value which specifies the index of the current page. If less than zero or exceeds the number of pages, an ArgumentOutOfRangeException exception is raised.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CurrentPage property.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also