wpf-devexpress-dot-xpf-dot-data-dot-pagedsourcebase-29384ce7.md
Gets or sets how moving from one page to another is allowed.
Namespace : DevExpress.Xpf.Data
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public PageNavigationMode PageNavigationMode { get; set; }
Public Property PageNavigationMode As PageNavigationMode
| Type | Description |
|---|---|
| PageNavigationMode |
A mode of moving through pages.
|
Available values:
| Name | Description |
|---|---|
| Consecutive |
You can move to a page one after another.
| | Arbitrary |
You can move to any page.
| | ArbitraryWithTotalPageCount |
You can move to any page within the limits of total page count.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the PageNavigationMode 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.
how-to-bind-wpf-grid-to-data/CS/ViewModel/EFCore/PagedAsyncSource/MainWindow.xaml#L18
<dx:PagedAsyncSource ElementType="local_issues:Issue" KeyProperty="Id"
PageNavigationMode="ArbitraryWithTotalPageCount" FetchPageCommand="{Binding FetchPageCommand}"
GetTotalSummariesCommand="{Binding GetTotalSummariesCommand}" />
wpf-data-grid-implement-crud-operations/CS/ViewModel/EFCore/PagedAsyncSource/MainWindow.xaml#L30
<dx:PagedAsyncSource ElementType="local_issues:Issue" KeyProperty="Id"
PageNavigationMode="ArbitraryWithTotalPageCount" FetchPageCommand="{Binding FetchPageCommand}"
GetTotalSummariesCommand="{Binding GetTotalSummariesCommand}" />
wpf-data-grid-bind-to-pagedasyncsource/CS/PagedAsyncSourceMVVMSample/MainWindow.xaml#L19
<dx:PagedAsyncSource ElementType="{x:Type local:IssueData}"
PageNavigationMode="ArbitraryWithTotalPageCount"
FetchPageCommand="{Binding FetchIssuesCommand}"
See Also