Back to Devexpress

RichEditControl.DocumentProtectionChanged Event

wpf-devexpress-dot-xpf-dot-richedit-dot-richeditcontrol-b56d8861.md

latest1.8 KB
Original Source

RichEditControl.DocumentProtectionChanged Event

Fires when the document protection is enforced or dropped.

Namespace : DevExpress.Xpf.RichEdit

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

NuGet Package : DevExpress.Wpf.RichEdit

Declaration

csharp
public event EventHandler DocumentProtectionChanged
vb
Public Event DocumentProtectionChanged As EventHandler

Event Data

The DocumentProtectionChanged event's data class is EventArgs.

Remarks

Use the ProtectDocumentCommand command to enforce protection and the UnprotectDocumentCommand, to disable the protection. You can also check the Document.IsDocumentProtected property value, to determine whether protection is on.

See Also

ProtectDocumentCommand

UnprotectDocumentCommand

IsDocumentProtected

RichEditControl Class

RichEditControl Members

DevExpress.Xpf.RichEdit Namespace