New to Telerik UI for WPFStart a free 30-day trial

Provides paging functionality for a collection view.

Definition

Properties

Gets a value that indicates whether the PageIndex value is allowed to change.

C#
bool CanChangePage { get; }
Property Value:

true if the PageIndex value is allowed to change; otherwise, false.

Gets a value that indicates whether a page index change is in process.

C#
bool IsPageChanging { get; }
Property Value:

true if the page index is changing; otherwise, false.

Gets the minimum number of items known to be in the source collection.

C#
int ItemCount { get; }
Property Value:

The minimum number of items known to be in the source collection.

Gets the zero-based index of the current page.

C#
int PageIndex { get; }
Property Value:

The zero-based index of the current page.

Gets or sets the number of items to display on a page.

C#
int PageSize { get; set; }
Property Value:

The number of items to display on a page.

Gets the total number of items in the source collection.

C#
int TotalItemCount { get; }
Property Value:

The total number of items in the source collection, or -1 if the total number is unknown.

Methods

Sets the first page as the current page.

C#
bool MoveToFirstPage()
Returns:

bool

true if the operation was successful; otherwise, false.

Sets the last page as the current page.

C#
bool MoveToLastPage()
Returns:

bool

true if the operation was successful; otherwise, false.

Moves to the page after the current page.

C#
bool MoveToNextPage()
Returns:

bool

true if the operation was successful; otherwise, false.

Requests a page move to the page at the specified index.

C#
bool MoveToPage(int pageIndex)
Parameters:pageIndexint

The index of the page to move to.

Returns:

bool

true if the operation was successful; otherwise, false.

Moves to the page before the current page.

C#
bool MoveToPreviousPage()
Returns:

bool

true if the operation was successful; otherwise, false.

Events

Occurs when the PageIndex has changed.

C#
event EventHandler<EventArgs> PageChanged

Occurs when the PageIndex is changing.

C#
event EventHandler<PageChangingEventArgs> PageChanging