PreviousPage Property

NavigationCommands.PreviousPage Property


Gets the value that represents the Previous Page command.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

static member PreviousPage : RoutedUICommand with get

Property Value

Type: System.Windows.Input.RoutedUICommand

The routed UI command.

Default Values

Key Gesture


UI Text

Previous Page

This command indicates the intention to go to the previous page.

DocumentViewer, FlowDocumentReader, FlowDocumentScrollViewer, and FlowDocumentPageViewer implement support for responding to the PreviousPage command, although you are not required to use it; in many cases the implementation in response to that command is the responsibility of the application writer.

<object property="NavigationCommands.PreviousPage"/>

The following example shows how to use PreviousPage in conjunction with a FlowDocumentPageViewer. The FlowDocumentPageViewer provides an implementation that responds to the PreviousPage command by going to the previous page.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft