Skip to main content

PdfViewerCommands Properties

Provides access to PDF viewer commands.
Name Description
BindingContext

Gets or sets an object that contains the properties that will be targeted by the bound properties that belong to this BindableObject. This is a bindable property.

Inherited from BindableObject.
CloseDocument Returns the command that closes the document.
Dispatcher

Gets the dispatcher that was available when this bindable object was created, otherwise tries to find the nearest available dispatcher (probably the window’s/app’s).

Inherited from BindableObject.
GoToFirstPage Returns the command that navigates the document to the first page.
GoToLastPage Returns the command that navigates the document to the last page.
GoToNextPage Returns the command that navigates the document to the next page.
GoToPreviousPage Returns the command that navigates the document to the previous page.
SearchBackward Returns the command that searches the text string passed in parameters backward in the document starting from the previous page.
SearchForward Returns the command that searches the text string passed in parameters forward in the document starting from the current page.
ShareDocument Returns the command that invokes a share UI prompting the user to choose an app to share with.
ShowOpenFileDialog Returns the command that invokes the file explorer to select a PDF file to open.
ToggleOutlines Returns the command that invokes the built-in Outlines page.
ToggleThumbnails Returns the command that invokes the built-in Thumbnails page.
ZoomIn Returns the command that zooms in the current document.
ZoomOut Returns the command that zooms out of the current document.
See Also