New to Telerik UI for WinUI? Download free 30-day trial

Predefined Dialogs

The PdfViewer uses a number of predefined dialogs to display additional information to end users and prompt them for input. Each of the dialogs is opened by using the respective key combination or by explicitly invoking the respective command.

To be displayed, the dialogs have first to be registered either through the ExtensibilityManager helper class when using code-behind or through the respective attached property of the RadPdfViewerAttachedComponents class when defined in XAML.

The Find Dialog

The FindDialog dialog allows flexible searching in the loaded PDF document. For more information, refer to the article on the search functionality of the PdfViewer.

Register the FindDialog by using ExtensibilityManager

ExtensibilityManager.RegisterPasswordRequiredDialog(new FindDialog()); 
To add the dialog through XAML, use the RegisterFindDialog property of the RadPdfViewerAttachedComponents class.

Register the FindDialog through XAML

<telerik:RadPdfViewer telerik:RadPdfViewerAttachedComponents.RegisterFindDialog="True" /> 
WinUI RadPdfViewer Find Dialog in PdfViewer

The Password Required Dialog

When opening a password-protected PDF file, you can render the PasswordRequiredDialog to prompt the user to input the password for this document. For more information, refer to the article on opening files in the PdfViewer.

Register the PasswordRequiredDialog by using the ExtensibilityManager

ExtensibilityManager.RegisterPasswordRequiredDialog(new PasswordRequiredDialog()); 
To add the dialog through XAML, use the RegisterPasswordRequiredDialog property of the RadPdfViewerAttachedComponents class.

Register the PasswordRequiredDialog through XAML

<telerik:RadPdfViewer telerik:RadPdfViewerAttachedComponents.RegisterPasswordRequiredDialog="True" /> 
WinUI RadPdfViewer Password Required Dialog in PdfViewer

The Sign Signature Dialog

The SignSignatureDialog enables you to choose a .pfx file representing the certificate and enter the password for it. For more information, refer to the article on using digital signature in the PdfViewer.

Register the SignSignatureDialog

ExtensibilityManager.RegisterSignSignatureDialog(new SignSignatureDialog()); 
To add the dialog through XAML, use the RegisterSignSignatureDialog property of the RadPdfViewerAttachedComponents class.

Register the SignSignatureDialog through XAML

<telerik:RadPdfViewer telerik:RadPdfViewerAttachedComponents.RegisterSignSignatureDialog="True" /> 
WinUI RadPdfViewer Sign Signature Dialog in PdfViewer

The Signature Properties Dialog

The SignaturePropertiesDialog provides detailed information on which signature is invalid and why. For more information, refer to the article on using digital signature in the PdfViewer.

Register the SignaturePropertiesDialog

ExtensibilityManager.RegisterSignaturePropertiesDialog(new SignaturePropertiesDialog()); 
To add the dialog through XAML, you can use the RegisterSignaturePropertiesDialog property of the RadPdfViewerAttachedComponents class.

Register the SignaturePropertiesDialog through XAML

<telerik:RadPdfViewer telerik:RadPdfViewerAttachedComponents.RegisterSignaturePropertiesDialog="True" /> 
WinUI RadPdfViewer Signature Properties Dialog in PdfViewer

See Also

In this article
Not finding the help you need?