Skip to main content
All docs
V24.1

GroupControl.HyperlinkClick Event

Occurs each time a user clicks a hyperlink within the control’s caption.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.1.dll

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

Declaration

[DXCategory("Action")]
public event HyperlinkClickEventHandler HyperlinkClick

Event Data

The HyperlinkClick event's data class is HyperlinkClickEventArgs. The following properties provide information specific to this event:

Property Description
Link Get or sets the URL of the clicked hyperlink.
MouseArgs Gets or sets mouse coordinates calculated from the toolbar’s upper left corner.
Text Gets or sets the hyperlink alt text. Note that modifying this text does not change the item caption.

Remarks

Handle the HyperlinkClick event to perform actions when a user clicks a hyperlink in the control’s caption.```

GroupControl - HyperlinkClick

You can add a hyperlink to the GroupControl’s caption as follows:

Example

The following example adds a hyperlink to the GroupControl’s header and launches this link when a user clicks it.

GroupControl - HyperlinkClick

groupControl1.AllowHtmlText = true;
groupControl1.Text = "Resources <href=www.devexpress.com>(help)</href>";
//...
private void groupControl1_HyperlinkClick(object sender, DevExpress.Utils.HyperlinkClickEventArgs e) {
    System.Diagnostics.Process.Start(e.Link);
}
See Also