.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+

ProtectDocumentCommand Class

Enforces document protection.

Namespace: DevExpress.XtraRichEdit.Commands

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

Declaration

public class ProtectDocumentCommand :
    ProtectedDocumentCommandBase
Public Class ProtectDocumentCommand
    Inherits ProtectedDocumentCommandBase
public class ProtectDocumentCommand :
    ProtectedDocumentCommandBase
Public Class ProtectDocumentCommand
    Inherits ProtectedDocumentCommandBase

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>
RichEditCommand
RichEditMenuItemSimpleCommand
DevExpress.XtraRichEdit.Commands.ProtectedDocumentCommandBase
ProtectDocumentCommand
See Also