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

Encrypt Document Dialog

The Encrypt Document dialog allows end-users to specify a password to encrypt the contents of the document when it is saved to a file.

SpreadsheetControl_EncryptDocumentDialog

To provide end-users with the capability to invoke the Encrypt Document dialog, add the Info Ribbon page group to the SpreadsheetControl. For an example on how to create a Ribbon UI, refer to the Getting Started topic.

SpreadsheetControl_EncryptWithPasswordRibbon

To specify the encryption type and a password in code, use the DocumentSettings.Encryption property. For an example, refer to the How to: Open and Save a Password Encrypted File article.

See Also