SpreadsheetControl.HyperlinkClick Event
Occurs when an end-user activates the hyperlink before navigating to the referenced location.
Namespace: DevExpress.XtraSpreadsheet
Assembly: DevExpress.XtraSpreadsheet.v24.1.dll
NuGet Package: DevExpress.Win.Spreadsheet
Declaration
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. |
IsExternal | Indicates whether the hyperlink points to a location outside the current workbook. |
ModifierKeys | Determines which modifier keys (SHIFT, CTRL, and ALT) were pressed to activate a hyperlink. |
Shift | Indicates whether the SHIFT key was pressed. |
TargetRange | Gets the destination range referenced by a hyperlink. |
TargetUri | Gets the URI to which a hyperlink navigates. |
Remarks
The HyperlinkClick event is fired when the end-user activates the hyperlink by clicking it with no modifier key pressed or the end-user clicks it with the ALT key pressed. The event also occurs when the end-user right-clicks the hyperlink to invoke the context menu and selects the Open Hyperlink command.