Back to Devexpress

IRichEditDocumentServer.EncryptedFilePasswordRequested Event

officefileapi-devexpress-dot-xtrarichedit-dot-iricheditdocumentserver-161da631.md

latest2.5 KB
Original Source

IRichEditDocumentServer.EncryptedFilePasswordRequested Event

Raises when the RichEditDocumentImportOptions.EncryptionPassword property is not set or returns an invalid password.

Namespace : DevExpress.XtraRichEdit

Assembly : DevExpress.RichEdit.v25.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
event EncryptedFilePasswordRequestedEventHandler EncryptedFilePasswordRequested
vb
Event EncryptedFilePasswordRequested As EncryptedFilePasswordRequestedEventHandler

Event Data

The EncryptedFilePasswordRequested event's data class is EncryptedFilePasswordRequestedEventArgs. The following properties provide information specific to this event:

PropertyDescription
CancelGets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
DocumentNameGets the name of the encrypted document.
PasswordGets or sets the password used to encrypt the document.

Remarks

The EncryptedFilePasswordRequested event allows you to specify a password in code using the Password property. If the given password is empty or invalid, the EncryptedFilePasswordCheckedFailed event raises.

See Also

IRichEditDocumentServer Interface

IRichEditDocumentServer Members

DevExpress.XtraRichEdit Namespace