Having trouble getting help?
Contact Support
Contact Support
Keyboard shortcuts in .NET MAUI PDF Viewer (SfPdfViewer)
The .NET MAUI PDF viewer allows the users to perform certain operations such as page navigation using keyboard shortcuts in Windows and macOS platforms. The below table lists the available shortcuts and the corresponding operations.
Key combination | Operation |
---|---|
Mouse wheel scroll up | Vertically scrolls towards top |
Mouse wheel scroll down | Vertically scrolls towards bottom |
Mouse left button down + drag | Omni directional dragging (pan) |
Shift + Mouse wheel scroll up |
Horizontally scrolls towards left |
Shift + Mouse wheel scroll down |
Horizontally scrolls towards right |
Ctrl + Mouse wheel scroll up |
Zoom in |
Ctrl + Mouse wheel scroll down |
Zoom out |
Down arrow | Step scrolling from top to bottom |
Up arrow | Step scrolling from bottom to top |
Right arrow | Step scrolling from left to right |
Left arrow | Step scrolling from right to left |
Page up |
Scrolls up the current View |
Page down |
Scrolls down the current view |
Enter |
Submits the password entered in the built-in password dialog. Ignored if the password dialog is not showing |
Home |
Scrolls to the top. |
End |
Scrolls to the bottom. |
Shift + Home
|
Scrolls to the left end |
Shift + End
|
Scrolls to the right end |
Ctrl + +
|
Zooms in |
Ctrl + -
|
Zooms out |
Ctrl + Page down
|
Goes to next page |
Ctrl + Page up
|
Goes to previous page |
Ctrl + Home
|
Goes to first page |
Ctrl + End
|
Goes to last page |
Ctrl + C
|
Copies the selected text to the clipboard |
Delete |
Removes the selected annotation from a PDF document |
Ctrl + z
|
Undo - Reverse the most recent action performed on the annotations |
Ctrl + y
|
Redo – Restores the last undone action |
Esc |
|
Limitations
- The
Ctrl
+ mouse wheel combinations for zooming are applicable only for Windows. There is no support for this combination in macOS. - In Windows, it is the default behavior of UI elements to receive notification of the key pressed event only when they are focused. So, while using keyboard shortcuts in Windows, please make sure that the PDF viewer control is focused by either tapping or clicking on it.
NOTE
Use the
Command
key instead of theCtrl
key in macOS.