All docs
V21.2
21.2
21.1
20.2
The page you are viewing does not exist in version 20.2. This link will take you to the root page.
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

HyperlinkClickEventArgs.Text Property

Gets or sets the hyperlink alt text. Note that modifying this text does not change the item caption.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v21.2.dll

Declaration

public string Text { get; set; }

Property Value

Type Description
String

The hyperlink alt text.

Remarks

The sample below illustrates the difference between HyperlinkClickEventArgs.Text and BarItem.Caption properties.

hyperlink text

counter = 0;
barStaticItem1.Caption = "<a href=fakeurl>Click to increase the counter (Current value: "
    + counter.ToString() + ")";

void OnHyperlinkClick(object sender, HyperlinkClickEventArgs e) {
    if (e.Link == "fakeurl") {
        counter++;
        e.Text = "Click to increase the counter(Current value: " + counter.ToString() + ")";
        barStaticItem1.Hint = "e.Text value: '" + e.Text + "'" ;
    }
}
See Also