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

TdxRichEditControlProtectDocument Class

An action object that corresponds to the ProtectDocument command provided by the Rich Edit control.

#Declaration

Delphi
TdxRichEditControlProtectDocument = class(
    TdxRichEditControlAction
)

#Remarks

This class does not introduce any new public members. Executing a TdxRichEditControlProtectDocument action object invokes the Start Enforcing Protection dialog for an unprotected document:

VCL Rich Edit Control: The Start Enforcing Protection Dialog

UI elements linked to a TdxRichEditControlProtectDocument action object are enabled only if the following conditions are met:

  • The Rich Edit control’s ReadOnly property is set to False.
  • The current document is not protected.
See Also