Back to Devexpress

TdxRichEditControlUnprotectDocument Class

vcl-dxrichedit-dot-actions-fa2fb4b5.md

latest2.5 KB
Original Source

TdxRichEditControlUnprotectDocument Class

An action object that corresponds to the UnprotectDocument command in the Rich Edit control.

Declaration

delphi
TdxRichEditControlUnprotectDocument = class(
    TdxRichEditControlAction
)

Remarks

This class does not introduce any new public members. Executing a TdxRichEditControlUnprotectDocument action object allows an end-user to disable the current document’s protection. If no password was specified in the Start Enforcing Protection dialog, this action disables the protection without confirmation. Otherwise, the Unprotect Document dialog is invoked:

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

  • The Rich Edit control’s ReadOnly property is set to False.
  • The active document is currently protected.

Inheritance

TObject TPersistent TComponent TBasicAction TContainedAction TCustomAction TAction TdxBasicAction TdxRichEditControlAction TdxRichEditControlUnprotectDocument

See Also

TdxRichEditControlProtectDocument

TdxRichEditControlUnprotectDocument Members

dxRichEdit.Actions Unit