windowsforms-devexpress-dot-xtrarichedit-dot-richeditcontrol-d36a3c76.md
Occurs before the Paragraph dialog is invoked.
Namespace : DevExpress.XtraRichEdit
Assembly : DevExpress.XtraRichEdit.v25.2.dll
NuGet Package : DevExpress.Win.RichEdit
public event ParagraphFormShowingEventHandler ParagraphFormShowing
Public Event ParagraphFormShowing As ParagraphFormShowingEventHandler
The ParagraphFormShowing event's data class is ParagraphFormShowingEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| ControllerParameters | Gets the information for initializing the Paragraph 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. |
| TabsClickCallback | Parameter required for one of the ParagraphForm constructors. |
Handle the ParagraphFormShowing event to perform any actions prior to the Paragraph 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
How to: Customize the Hyperlink Form
How to: Customize the Find and Replace Dialog in Rich Text Editor for WinForms