Skip to main content
All docs
V24.2

AlertControl.RaiseHyperlinkClick(HyperlinkClickEventArgs) Method

Emulates a hyperlink click.

Namespace: DevExpress.XtraBars.Alerter

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

public void RaiseHyperlinkClick(
    HyperlinkClickEventArgs e
)

Parameters

Name Type Description
e HyperlinkClickEventArgs

Data associated with the emulated click.

Remarks

Calling the RaiseHyperlinkClick method triggers the HyperlinkClick event with the same arguments you passed to this method.

HyperlinkClickEventArgs args = new HyperlinkClickEventArgs();
args.Link = "https://www.devexpress.com/";
alertControl1.RaiseHyperlinkClick(args);

private void AlertControl1_HyperlinkClick(object sender, HyperlinkClickEventArgs e) {
    Process.Start(e.Link);
}
See Also