Back to Devexpress

SpreadsheetControl.EncryptedFilePasswordRequest Event

wpf-devexpress-dot-xpf-dot-spreadsheet-dot-spreadsheetcontrol-a7fa8e50.md

latest2.3 KB
Original Source

SpreadsheetControl.EncryptedFilePasswordRequest Event

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

Namespace : DevExpress.Xpf.Spreadsheet

Assembly : DevExpress.Xpf.Spreadsheet.v25.2.dll

NuGet Package : DevExpress.Wpf.Spreadsheet

Declaration

csharp
public event EncryptedFilePasswordRequestEventHandler EncryptedFilePasswordRequest
vb
Public Event EncryptedFilePasswordRequest As EncryptedFilePasswordRequestEventHandler

Event Data

The EncryptedFilePasswordRequest event's data class is EncryptedFilePasswordRequestEventArgs. 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 EncryptedFilePasswordRequest allows to prompt end-user for a password or specify it in code using the EncryptedFilePasswordRequestEventArgs.Password property.

See Also

SpreadsheetControl Class

SpreadsheetControl Members

DevExpress.Xpf.Spreadsheet Namespace