Skip to main content

PdfViewerControl Properties

A control to display PDF files in Windows 10 applications, without the need to install any third-party software on end user machines.
Name Description
ActualIsFindTextPanelVisible Returns whether the Search Panel is currently displayed. This is a dependency property.
ActualIsLoading Gets whether a document is currently loading. This is a dependency property.
ActualIsPageBarVisible Returns whether the Page Bar is currently displayed. This is a dependency property.
ActualIsSettingsBarVisible Returns whether the Settings Bar is currently displayed. This is a dependency property.
ActualIsZoomBarVisible Returns whether the Zoom Bar is currently displayed. This is a dependency property.
ActualOverlaySettings Returns an object that stores actual overlay settings. This is a dependency property.
ClearFindResultsCommand Clears all search results and highlight states found in the document.
CloseDocumentCommand Closes the current document.
CloseFindPanelAndClearFindResultsCommand Clears all search results and highlight states found in the document and closes the Search Panel.
ContainerActualHeight
ContainerActualWidth
ContentMargin Gets or sets the outer indents for the PDF document. This is a dependency property.
CurrentPageIndex Gets or sets the current page index. This is a dependency property.
CurrentPageNumber Gets or sets the current page number. This is a dependency property.
CurrentZoomFactor Gets or sets the current zoom level of a PDF Viewer Control.
DefaultZoomFactor Gets or sets the default zoom factor. This is a dependency property.
Document Gets the current PDF document. This is a dependency property.
DocumentPrintingQuality Gets or sets the resolution scaling factor applied to the document when printing. This is a dependency property.
DocumentSource Gets or sets the PDF document source. This is a dependency property.
DocumentUri Gets or sets a URI that defines the location of a PDF file. This is a dependency property.
FindNextTextCommand Highlights and scrolls to the next occurrence of the search criteria in a document.
FindPreviousTextCommand Highlights and scrolls to the previous occurrence of the search criteria in a document.
FindTextCommand Performs a search, scrolling to and highlighting the text that matches the search criteria.
FitSizeCommand Sets the document zoom factor according to the command parameter.
IsDataLoading Gets or sets whether the PDF Viewer displays a data loading splash screen. This is a dependency property.
IsFindTextPanelVisible Gets or sets whether the Search Panel panel is enabled. This is a dependency property.
IsPageBarVisible Gets or sets whether to enable the Page Bar. This is a dependency property.
IsSettingsBarVisible Gets or sets whether to enable the Settings Bar. This is a dependency property.
IsZoomBarVisible Gets or sets whether to enable the Zoom Bar. This is a dependency property.
IsZoomedOutView Gets whether the PdfViewerControl displays page thumbnails.
LeftSideSettingsBarItemsSource Gets or sets an object that provides information to generate and initialize items on the left side of the Settings Bar for the current PdfViewerControl. This is a dependency property.
LoadDocumentCommand Loads a document from the source passed via the command parameter.
MaxZoomFactor Gets or sets the maximum permitted run-time value of the PdfViewerControl.CurrentZoomFactor property.
NavigateToOutlineCommand
NextPageCommand Scrolls to the next page.
OpenAttachmentCommand Returns a command that opens an attachment in the Attachments panel using the application associated with the attachment file type.
OpenFileCommand Invokes the file picker that allows the end-user to choose a document file to open.
OverlaySettings Gets or sets the object that stores overlay settings. This is a dependency property.
OverlaySettingsTemplate
PageCount Gets the total number of pages in the current document. This is a dependency property.
PageMargin Gets or sets the inner indents for the PDF document. This is a dependency property.
PageSpacing Gets or sets the spacing between document pages. This is a dependency property.
PdfDocumentLoadingPolicy Specifies how PDF documents are loaded and processed for additional features such as text search, bookmarks, attachments, etc. This is a dependency property.
PdfViewMode Gets or sets whether the PDF Viewer displays document pages one by one in a continuous vertical column or only the current document page. This is a dependency property.
PreviousPageCommand Scrolls to the previous page.
PrintDocumentCommand Prints the document.
PrintDocumentSource Gets or sets the source for the print document. This is a dependency property.
RightSideSettingsBarItemsSource Gets or sets an object that provides information to generate and initialize items on the right side of the Settings Bar for the current PdfViewerControl. This is a dependency property.
SaveAsCommand Invokes the file save picker that allows the end-user to save the document.
SaveAttachmentCommand Returns a command that saves an attachment locally.
SetPageNumberCommand Goes to a specific page.
SettingsBarFlyoutItemTemplateSelector Gets or sets an object that chooses a template used to visualize objects stored as elements in the PdfViewerControl.LeftSideSettingsBarItemsSource and PdfViewerControl.RightSideSettingsBarItemsSource collections. This is a dependency property.
SetViewModeCommand Sets the view mode.
SetZoomFactorCommand Sets the current zoom level.
SetZoomModeCommand Sets the current zoom mode.
ShowBookmarksButton Gets or sets whether to show the Bookmarks button within the Settings Bar. This is a dependency property.
ShowFindPanelCommand Shows the Search Panel.
ShowLeftSideDefaultSettingsBarItems Gets or sets whether to show items displayed on the left side of the Settings Bar. This is a dependency property.
ShowOpenDocumentButton Gets or sets whether to show the Open button within the Settings Bar. This is a dependency property.
ShowPrintDocumentButton Gets or sets whether to show the Print button within the Settings Bar. This is a dependency property.
ShowRightSideDefaultSettingsBarItems Gets or sets whether to show items displayed on the right side of the Settings Bar. This is a dependency property.
ShowSaveDocumentButton Gets or sets whether to show the Save button within the Settings Bar. This is a dependency property.
ThumbnailHeight Gets or sets the height of page thumbnails.
ThumbnailSpacing Gets or sets the spacing around a page thumbnail.
ToggleOverlayCommand Toggles the visibility of the specified overlay.
ViewerError Gets or sets the error message that is shown when a document fails to open. This is a dependency property.
ZoomCommand Sets the document zoom factor according to the command parameter.
ZoomMode Gets or sets the zoom mode that is applied to a PDF document. This is a dependency property.
See Also