HyperlinkClickEventArgs Class
Contains data for the HyperlinkClick event.
#Declaration
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.
#Properties
#handled Property
Specifies whether the event is handled.
#Declaration
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
htmlEvent: MouseEvent
#Property Value
Type | Description |
---|---|
Mouse |
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.).
#hyperlink Property
Returns the clicked hyperlink.
#Declaration
hyperlink: Hyperlink
#Property Value
Type | Description |
---|---|
Hyperlink | A hyperlink object. |
#hyperlinkType Property
Identifies the clicked hyperlink type.
#Declaration
hyperlinkType: DocumentLinkType
#Property Value
Type | Description |
---|---|
Document |
The hyperlink type. |
#targetUri Property
Gets the clicked link’s URI.
#Declaration
targetUri: string
#Property Value
Type | Description |
---|---|
string | The link’s URI. |