RichEditControl.DocumentProtectionQueryPasswordFormShowing Event
Occurs before the Unprotect Document dialog is invoked.
Namespace: DevExpress.XtraRichEdit
Assembly: DevExpress.XtraRichEdit.v24.2.dll
NuGet Package: DevExpress.Win.RichEdit
#Declaration
public event DocumentProtectionQueryPasswordFormShowingEventHandler DocumentProtectionQueryPasswordFormShowing
#Event Data
The DocumentProtectionQueryPasswordFormShowing event's data class is DocumentProtectionQueryPasswordFormShowingEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Controller |
Gets the information for initializing the Unprotect Document dialog controls. |
Dialog |
Gets or sets the return value of a dialog box.
Inherited from Show |
Handled |
Gets or sets whether an event was handled. If it was handled, the default actions are not required.
Inherited from Show |
Parent |
Gets or sets a parent of the form being shown.
Inherited from Show |
#Remarks
Handle the DocumentProtectionQueryPasswordFormShowing event to perform any actions prior to the Unprotect Document dialog being shown. For example, you can substitute the standard dialog with a custom one and set the ShowFormEventArgs.Handled property to true, to prevent default event handling.