Skip to main content

RichEditControl.DocumentProtectionQueryNewPasswordFormShowing Event

Occurs before the Document Protection dialog is invoked.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v23.2.dll

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

Declaration

public event DocumentProtectionQueryNewPasswordFormShowingEventHandler DocumentProtectionQueryNewPasswordFormShowing

Event Data

The DocumentProtectionQueryNewPasswordFormShowing event's data class is DocumentProtectionQueryNewPasswordFormShowingEventArgs. The following properties provide information specific to this event:

Property Description
ControllerParameters Gets the information for initializing the Document Protection dialog controls.
DialogResult Gets or sets the return value of a dialog box. Inherited from ShowFormEventArgs.
Handled Gets or sets whether an event was handled. If it was handled, the default actions are not required. Inherited from ShowFormEventArgs.
Parent Gets or sets a parent of the form being shown. Inherited from ShowFormEventArgs.

Remarks

Handle the DocumentProtectionQueryNewPasswordFormShowing event to perform any actions prior to the Document Protection 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.

See Also