HyperlinkFormShowingEventArgs.ControllerParameters Property
Gets the information for initializing the Edit Hyperlink dialog controls.
Namespace: DevExpress.XtraRichEdit
Assembly: DevExpress.RichEdit.v19.1.Core.dll
Declaration
Property Value
Type | Description |
---|---|
DevExpress.XtraRichEdit.Forms.HyperlinkFormControllerParameters | A DevExpress.XtraRichEdit.Forms.HyperlinkFormControllerParameters object containing information to be displayed in the form. |
Example
This example demonstrates how to replace the standard Hyperlink dialog with a custom form using the RichEditControl.HyperlinkFormShowing event.
Note
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-customize-dialog-forms-in-xtrarichedit-suite-e3095
private void richEditControl1_HyperlinkFormShowing(object sender,HyperlinkFormShowingEventArgs e)
{
MyHyperlinkForm form = new MyHyperlinkForm(e.ControllerParameters);
e.DialogResult = form.ShowDialog();
e.Handled = true;
}
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ControllerParameters property.
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.