BarManager.HyperlinkClick Event

Occurs each time an end-user clicks a hyperlink within the BarManager control.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.2.dll


public event HyperlinkClickEventHandler HyperlinkClick
Public Event HyperlinkClick As HyperlinkClickEventHandler

Event Data

The HyperlinkClick event's data class is DevExpress.Utils.HyperlinkClickEventArgs.


You can place a hyperlink within a BarStaticItem or a BarButtonItem. To do so, allow text formatting via HTML tags (set the BarManager.AllowHtmlText property to true) and use the <href></href> tag for the item's caption.

public Form1() {
    barManager1.AllowHtmlText = true;
    barStaticItem1.Caption = "Visit our <>Web-site</href>";

private void barManager1_HyperlinkClick(object sender, DevExpress.Utils.HyperlinkClickEventArgs e) {

See the HTML Text Formatting topic for the list of all available HTML tags.

You can also handle the BarItem.HyperlinkClick event for individual bar items.

Clicking HyperLinkEdit items does not fire the HyperlinkClick event.

See Also