Skip to main content
A newer version of this page is available. .

ProtectDocumentCommand Class

Enforces document protection.

Namespace: DevExpress.XtraRichEdit.Commands

Assembly: DevExpress.RichEdit.v18.2.Core.dll

Declaration

public class ProtectDocumentCommand :
    RichEditMenuItemSimpleCommand

Remarks

When the document is protected, only ranges with permissions are editable if the credentials specified by the RichEditControlOptionsBase.Authentication options match the RangePermission.UserName for the range.

Inheritance

Object
Command
DevExpress.Utils.Commands.ControlCommand<IRichEditControl, RichEditCommandId, DevExpress.XtraRichEdit.Localization.XtraRichEditStringId>
DevExpress.XtraRichEdit.Commands.RichEditCommandBase<DevExpress.XtraRichEdit.Localization.XtraRichEditStringId>
See Also