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

HyperlinkClickEventArgs Class

Contains data for the HyperlinkClick event.

#Declaration

TypeScript
export class HyperlinkClickEventArgs extends EventArgs

#Remarks

The HyperlinkClick event occurs when a hyperlink is clicked. The event handler receives an argument of the HyperlinkClickEventArgs type. The argument’s properties provide information specific to this event.

#Inheritance

EventArgs
HyperlinkClickEventArgs

#Properties

#handled Property

Specifies whether the event is handled.

#Declaration

TypeScript
handled: boolean

#Property Value

Type Description
boolean

true if the event is handled and no default processing is required; otherwise false.

#htmlEvent Property

Gets a DHTML event object that relates to the processed event.

#Declaration

TypeScript
htmlEvent: MouseEvent

#Property Value

Type Description
MouseEvent

An object that maintains DHTML event-specific information.

#Remarks

Use the htmlEvent property to access an object that contains DHTML event information (such as the HTML element in which the event occurred, the state of the keyboard keys, the location of the mouse, the state of the mouse buttons, etc.).

Returns the clicked hyperlink.

TypeScript
hyperlink: Hyperlink
Type Description
Hyperlink

A hyperlink object.

#hyperlinkType Property

Identifies the clicked hyperlink type.

#Declaration

TypeScript
hyperlinkType: DocumentLinkType

#Property Value

Type Description
DocumentLinkType

The hyperlink type.

#targetUri Property

Gets the clicked link’s URI.

#Declaration

TypeScript
targetUri: string

#Property Value

Type Description
string

The link’s URI.