Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GroupControl.HyperlinkClick Event

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.2.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