How to: Customize the Hyperlink Form
- 2 minutes to read
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();
form.Dispose();
e.Handled = true;
}