Back to Devexpress

TdxRichEditControlProtectDocument Class

vcl-dxrichedit-dot-actions-75f0aa97.md

latest2.3 KB
Original Source

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:

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.

Inheritance

TObject TPersistent TComponent TBasicAction TContainedAction TCustomAction TAction TdxBasicAction TdxRichEditControlAction TdxRichEditControlProtectDocument

See Also

TdxRichEditControlUnprotectDocument Class

TdxRichEditControlProtectDocument Members

dxRichEdit.Actions Unit