Skip to content

DataPager class

Defined in

Namespace: CrissCross.Avalonia.UI.Controls Assembly: CrissCross.Avalonia.UI.dll Full name: CrissCross.Avalonia.UI.Controls.DataPager Modifiers: public

Summary

        Represents a paging/navigation surface for local or remote data sources.
        

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net471

Class hierarchy
classDiagram
class DataPager
class TemplatedControl
TemplatedControl <|-- DataPager

Inherits from: TemplatedControl

Constructors

NameSummary
.ctorInitializes a new instance of the [DataPager](# class.

Properties

NameSummary
PaginationStateGets or sets the shared pagination state projected by the control.
CurrentRequestGets or sets the latest page request emitted by the control.
PageRequestCommandGets or sets the command invoked when a page request is emitted.
SortKeyGets or sets the sort key included with emitted page requests.
SortDescendingGets or sets a value indicating whether emitted page requests sort descending.
QueryStateGets or sets the search/filter state snapshot included with emitted page requests.
FirstPageCommandGets the command that requests the first page.
PreviousPageCommandGets the command that requests the previous page.
NextPageCommandGets the command that requests the next page.
LastPageCommandGets the command that requests the last page.

Fields

NameSummary
static PaginationStatePropertyProperty for [PaginationState](#
static CurrentRequestPropertyProperty for [CurrentRequest](#
static PageRequestCommandPropertyProperty for [PageRequestCommand](#
static SortKeyPropertyProperty for [SortKey](#
static SortDescendingPropertyProperty for [SortDescending](#
static QueryStatePropertyProperty for [QueryState](#

Methods

NameSummary
CreateRequestCreates a page request for the specified zero-based page index.
MoveToPageEmits a page request for the specified zero-based page index.
Inherited members