Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomSpreadSheet.Password Property

Specifies the password used to encrypt and decrypt spreadsheet documents.

#Declaration

Delphi
property Password: string read; write;

#Property Value

Type
string

#Remarks

The Spreadsheet and Report Designer controls support file encryption for the XLS, XLT, XLSX, and XLTX formats. You can use this property to:

Specify the password required to open an encrypted spreadsheet document prior to loading it. If the Password property is set to an empty string, the Spreadsheet control attempts to load an encrypted file using the dxSpreadSheetDefaultPassword global constant value as a password.

  • Assign a password used to encrypt the current spreadsheet document when it is saved. If the Password property is set to an empty string, the document is not encrypted.

For more information on passwords and spreadsheet document encryption including end-user capabilities, refer to the Password Protection topic.

See Also