New to Telerik UI for WinForms? Start a free 30-day trial

Provides the password prompt that is raised for a protected PDF and can be canceled or replaced by an event handler.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.PdfViewer.dll

Syntax:

C#
public class PasswordRequireDialogShowingEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsPasswordRequireDialogShowingEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

Initializes event data without assigning a password dialog.

C#
public PasswordRequireDialogShowingEventArgs()

Initializes event data with the default PDF password dialog.

C#
public PasswordRequireDialogShowingEventArgs(PdfPasswordRequiredDialog dialog)
Parameters:dialogPdfPasswordRequiredDialog

The password dialog to display unless the event handler replaces or removes it.

Properties

Gets or sets the dialog used to collect the password; set to null to skip prompting.

C#
public IPasswordRequiredDialog Dialog { get; set; }