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 RichEditControl ships with integrated Encrypt Document dialog, shown in the image below.

IMAGE

End users can click Encrypt with Password on the Home ribbon tab to invoke this dialog. Refer to the How to: Create the RichEditControl with a Ribbon UI topic for details on how to provide the ribbon UI for the RichEditControl.

IMAGE

#Invoke the Dialog in Code

You can use EncryptDocumentCommand to invoke this dialog. Use Document.Encryption option to specify the document encryption options (password and encryption type) in code. Refer to the Restrictions and Protection topic for more information.