DataPager class¶
Defined in
Namespace: CrissCross.WPF.UI.Controls
Assembly: CrissCross.WPF.UI.dll
Full name: CrissCross.WPF.UI.Controls.DataPager
Modifiers: public
Summary¶
Represents a paging/navigation surface for local or remote data sources.
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
Class hierarchy
classDiagram
class DataPager
class Control
Control <|-- DataPager
Inherits from: Control
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [DataPager](# class. |
Properties¶
| Name | Summary |
|---|---|
| PaginationState | Gets or sets the shared pagination state projected by the control. |
| CurrentRequest | Gets or sets the latest page request emitted by the control. |
| PageRequestCommand | Gets or sets the command invoked when a page request is emitted. |
| SortKey | Gets or sets the sort key included with emitted page requests. |
| SortDescending | Gets or sets a value indicating whether emitted page requests sort descending. |
| QueryState | Gets or sets the search/filter state snapshot included with emitted page requests. |
| FirstPageCommand | Gets the command that requests the first page. |
| PreviousPageCommand | Gets the command that requests the previous page. |
| NextPageCommand | Gets the command that requests the next page. |
| LastPageCommand | Gets the command that requests the last page. |
Fields¶
| Name | Summary |
|---|---|
| static PaginationStateProperty | Property for [PaginationState](# |
| static CurrentRequestProperty | Property for [CurrentRequest](# |
| static PageRequestCommandProperty | Property for [PageRequestCommand](# |
| static SortKeyProperty | Property for [SortKey](# |
| static SortDescendingProperty | Property for [SortDescending](# |
| static QueryStateProperty | Property for [QueryState](# |
Methods¶
| Name | Summary |
|---|---|
| CreateRequest | Creates a page request for the specified zero-based page index. |
| MoveToPage | Emits a page request for the specified zero-based page index. |