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 encrypt the document with a password to prevent unauthorized people from opening or modifying it.

DXSpreadsheet_Dialogs_EncryptDocument

Add the Info ribbon group to enable the Encrypt with Password button, which invokes the target dialog. Refer to the Create a Simple Spreadsheet Application topic for details on how to provide a Ribbon UI for the SpreadsheetControl.

DXSpreadsheet_Dialogs_EncryptDocument_Ribbon

Tip

Use the DocumentSettings.Encryption property to set the encryption type and password in code. Check the Protection topic for details.

See Also