Back to Devexpress

ProtectDocumentCommand Class

officefileapi-devexpress-dot-xtrarichedit-dot-commands-75e5ea19.md

latest2.3 KB
Original Source

ProtectDocumentCommand Class

Enforces document protection.

Namespace : DevExpress.XtraRichEdit.Commands

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
public class ProtectDocumentCommand :
    ProtectedDocumentCommandBase
vb
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

ProtectDocumentCommand Members

RangePermission

AuthenticationOptions

IUserListService

DevExpress.XtraRichEdit.Commands Namespace