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

Predefined Dialogs

The RadPdfViewer uses a number of predefined dialogs to display additional information to the end user 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 to first be registered either through the ExtensibilityManager helper class when using code-behind or via the respective attached property of the RadPdfViewerAttachedComponents class when defined in XAML.

Find Dialog

The FindDialog dialog allows flexible searching in the loaded PDF document.

Registering FindDialog using ExtensibilityManager

ExtensibilityManager.RegisterPasswordRequiredDialog(new FindDialog()); 
If you prefer adding the dialog through XAML, you can use the RegisterFindDialog property of the RadPdfViewerAttachedComponents class.

Registering FindDialog through XAML

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

Password Required Dialog

When opening a PDF file protected with a password, the PasswordRequiredDialog can be shown to prompt the user to input the password for this document.

Registering PasswordRequiredDialog using ExtensibilityManager

ExtensibilityManager.RegisterPasswordRequiredDialog(new PasswordRequiredDialog()); 
If you prefer adding the dialog through XAML, you can use the RegisterPasswordRequiredDialog property of the RadPdfViewerAttachedComponents class.

Registering PasswordRequiredDialog through XAML

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

Sign Signature Dialog

The SignSignatureDialog gives you the ability to choose a .pfx file representing the certificate and enter the password for it.

Registering SignSignatureDialog

ExtensibilityManager.RegisterSignSignatureDialog(new SignSignatureDialog()); 
If you prefer adding the dialog through XAML, you can use the RegisterSignSignatureDialog property of the RadPdfViewerAttachedComponents class.

Registering SignSignatureDialog through XAML

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

Signature Properties Dialog

The SignaturePropertiesDialog provides detailed information on which signature is invalid and why.

Registering SignaturePropertiesDialog

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

Registering SignaturePropertiesDialog through XAML

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

See Also

In this article
Not finding the help you need?