Back to Devexpress

RichEditControl.HyperlinkClick Event

wpf-devexpress-dot-xpf-dot-richedit-dot-richeditcontrol-b8b54f84.md

latest2.5 KB
Original Source

RichEditControl.HyperlinkClick Event

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

Namespace : DevExpress.Xpf.RichEdit

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

NuGet Package : DevExpress.Wpf.RichEdit

Declaration

csharp
public event HyperlinkClickEventHandler HyperlinkClick
vb
Public Event HyperlinkClick As HyperlinkClickEventHandler

Event Data

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

PropertyDescription
AltIndicates whether the ALT key was pressed.
ControlIndicates whether the CTRL key was pressed.
HandledGets or sets whether the default action associated with the hyperlink click is required.
HyperlinkGets a clicked hyperlink.
ModifierKeysDetermines which modifier keys (SHIFT, CTRL, and ALT) were pressed to activate a hyperlink.
ShiftIndicates 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

NavigateUri

Anchor

RichEditControl Class

RichEditControl Members

DevExpress.Xpf.RichEdit Namespace