HyperlinkFormShowingEventArgs Class

Provides data for the RichEditControl.HyperlinkFormShowing event.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v20.1.dll


public class HyperlinkFormShowingEventArgs :
Public Class HyperlinkFormShowingEventArgs
    Inherits FormShowingEventArgs


The RichEditControl.HyperlinkFormShowing event occurs before the Edit Hyperlink dialog is invoked. The HyperlinkFormShowingEventArgs class introduces the HyperlinkFormShowingEventArgs.ControllerParameters property, that specifies the information to be displayed in the dialog.

Note, that HyperlinkFormShowingEventArgs objects are automatically created, initialized and passed to the RichEditControl.HyperlinkFormShowing event handlers.


This example demonstrates how to replace the standard Hyperlink dialog with a custom form using the RichEditControl.HyperlinkFormShowing event.

private void richEditControl1_HyperlinkFormShowing(object sender,HyperlinkFormShowingEventArgs e)
    MyHyperlinkForm form = new MyHyperlinkForm(e.ControllerParameters);
    e.DialogResult = form.ShowDialog();
    e.Handled = true;


See Also