RichEditControl.FontFormShowing Event
Occurs before the Font dialog is invoked.
Namespace: DevExpress.XtraRichEdit
Assembly: DevExpress.XtraRichEdit.v18.2.dll
Declaration
Event Data
The FontFormShowing event's data class is FontFormShowingEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
ControllerParameters | Gets the information for initializing the Font 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 FontFormShowing event to perform any actions prior to the Font 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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FontFormShowing event.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.