Skip to main content
A newer version of this page is available. .

RichEditControl.HyperlinkClick Event

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

Namespace: DevExpress.Xpf.RichEdit

Assembly: DevExpress.Xpf.RichEdit.v19.1.dll

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 Gets the modifier flags for a hyperlink click. The flags indicate which combination of CTRL, SHIFT, and ALT keys was pressed.
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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the HyperlinkClick event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also