Skip to main content
A newer version of this page is available. .
All docs
V21.2

HyperlinkClickEventArgs.Link Property

Get or sets the URL of the clicked hyperlink.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v21.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Win.Design, DevExpress.Wpf.Core

Declaration

Property Value

Type Description
String

The hyperlink value.

Remarks

The Link property allows you to replace the actual link value with a custom URL.

barStaticItem1.Caption = "Visit our <href=www.devexpress.com>Web-site</href>";

void OnHyperlinkClick(object sender, HyperlinkClickEventArgs e) {
    if (e.Link == "www.devexpress.com")
        e.Link = "https://www.devexpress.com/products/net/controls/winforms/";
    System.Diagnostics.Process.Start(e.Link);
}
See Also