Skip to main content

RichEditControl.DocumentProtectionChanged Event

Fires when the document protection is enforced or dropped.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v23.2.dll

NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.RichEdit, DevExpress.Win.TreeMap

Declaration

public event EventHandler DocumentProtectionChanged

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