Class PasswordEventArgs

These are the arguments passed to the OnRequestPassword event on the Controller. After setting the Password property the client event handler must call Windows.Foundation.Deferral.Complete.

Inheritance
System.Object
PasswordEventArgs
Namespace: PSPDFKit.UI
Assembly: PSPDFKit.dll
Syntax
public sealed class PasswordEventArgs

Constructors

PasswordEventArgs(DocumentSource, Deferral)

Constructs a password event argument object.

Declaration
public PasswordEventArgs(DocumentSource documentSource, Deferral deferral)
Parameters
Type Name Description
DocumentSource documentSource

The source document.

Windows.Foundation.Deferral deferral

A deferral object for signaling completeness.

Properties

Controller

The document's Controller

Declaration
public Controller Controller { get; }
Property Value
Type Description
Controller

Deferral

The deferral object that must have it's method Windows.Foundation.Deferral.Complete called.

Declaration
public Deferral Deferral { get; }
Property Value
Type Description
Windows.Foundation.Deferral

DocumentSource

The source document.

Declaration
public DocumentSource DocumentSource { get; }
Property Value
Type Description
DocumentSource

Response

The response.

Declaration
public PasswordRequestResponse Response { get; set; }
Property Value
Type Description
PasswordRequestResponse