Skip to main content

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

RichEditControl.HyperlinkClick Event

Occurs when an end-user clicks the hyperlink to activate it.

Namespace: DevExpress.Xpf.RichEdit

Assembly: DevExpress.Xpf.RichEdit.v24.2.dll

NuGet Package: DevExpress.Wpf.RichEdit

#Declaration

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
Alt Indicates whether the ALT key was pressed.
Control Indicates whether the CTRL key was pressed.
Handled Gets or sets whether the default action associated with the hyperlink click is required.
Hyperlink Gets a clicked hyperlink.
ModifierKeys Determines which modifier keys (SHIFT, CTRL, and ALT) were pressed to activate a hyperlink.
Shift Indicates whether the SHIFT key was pressed.

#Remarks

Handle this event to perform a custom action that depends on hyperlink properties. By default, activating a hyperlink results in navigating to the location specified by the Hyperlink.NavigateUri or the Hyperlink.Anchor property values.

See Also