.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
Row

ISpreadsheetComponent.EncryptedFilePasswordRequest Event

Raises when the WorkbookImportOptions.Password property is not set or contains a wrong password.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v19.2.Core.dll

Declaration

event EncryptedFilePasswordRequestEventHandler EncryptedFilePasswordRequest
Event EncryptedFilePasswordRequest As EncryptedFilePasswordRequestEventHandler
event EncryptedFilePasswordRequestEventHandler EncryptedFilePasswordRequest
Event EncryptedFilePasswordRequest As EncryptedFilePasswordRequestEventHandler
event EncryptedFilePasswordRequestEventHandler EncryptedFilePasswordRequest
Event EncryptedFilePasswordRequest As EncryptedFilePasswordRequestEventHandler

Event Data

The EncryptedFilePasswordRequest event handler receives an argument of the EncryptedFilePasswordRequestEventArgs type. The following properties provide information specific to this event.

Property Description
Cancel Gets or sets a value indicating whether the event should be canceled.
(Inherited from CancelEventArgs)
DocumentName Gets the name of the encrypted document.
Password Gets or sets the password used to encrypt the document.

Remarks

The EncryptedFilePasswordRequest allows to prompt end-user for a password or specify it in code using the EncryptedFilePasswordRequestEventArgs.Password property.

See Also