Skip to main content
All docs
V25.1
  • AlertControl.RaiseHyperlinkClick(HyperlinkClickEventArgs) Method

    Emulates a hyperlink click.

    Namespace: DevExpress.XtraBars.Alerter

    Assembly: DevExpress.XtraBars.v25.1.dll

    NuGet Package: DevExpress.Win.Navigation

    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