Back to Devexpress

PagedSourceBase.PageNavigationMode Property

wpf-devexpress-dot-xpf-dot-data-dot-pagedsourcebase-29384ce7.md

latest3.4 KB
Original Source

PagedSourceBase.PageNavigationMode Property

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

Declaration

csharp
public PageNavigationMode PageNavigationMode { get; set; }
vb
Public Property PageNavigationMode As PageNavigationMode

Property Value

TypeDescription
PageNavigationMode

A mode of moving through pages.

|

Available values:

NameDescription
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

xml
<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

xml
<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

xml
<dx:PagedAsyncSource ElementType="{x:Type local:IssueData}"
                     PageNavigationMode="ArbitraryWithTotalPageCount"
                     FetchPageCommand="{Binding FetchIssuesCommand}"

See Also

PagedSourceBase Class

PagedSourceBase Members

DevExpress.Xpf.Data Namespace