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

XPPageSelector.CurrentPage Property

Gets or sets the current page in the pageable collection.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

[Browsable(false)]
public int CurrentPage { get; set; }

Property Value

Type Description
Int32

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.

Note

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