PaginationState Class

Definition

Holds state to represent pagination in a QuickGrid<TGridItem>.

public class PaginationState
type PaginationState = class
Public Class PaginationState
Inheritance
PaginationState

Constructors

PaginationState()

Properties

CurrentPageIndex

Gets the current zero-based page index. To set it, call SetCurrentPageIndexAsync(Int32).

ItemsPerPage

Gets or sets the number of items on each page.

LastPageIndex

Gets the zero-based index of the last page, if known. The value will be null until TotalItemCount is known.

TotalItemCount

Gets the total number of items across all pages, if known. The value will be null until an associated QuickGrid<TGridItem> assigns a value after loading data.

Methods

GetHashCode()

Serves as the default hash function.

SetCurrentPageIndexAsync(Int32)

Sets the current page index, and notifies any associated QuickGrid<TGridItem> to fetch and render updated data.

Events

TotalItemCountChanged

An event that is raised when the total item count has changed.

Applies to