Back to Devexpress

SpreadsheetControl.HyperlinkClick Event

windowsforms-devexpress-dot-xtraspreadsheet-dot-spreadsheetcontrol-6c8fee69.md

latest2.8 KB
Original Source

SpreadsheetControl.HyperlinkClick Event

Occurs when an end-user activates the hyperlink before navigating to the referenced location.

Namespace : DevExpress.XtraSpreadsheet

Assembly : DevExpress.XtraSpreadsheet.v25.2.dll

NuGet Package : DevExpress.Win.Spreadsheet

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.
IsExternalIndicates whether the hyperlink points to a location outside the current workbook.
ModifierKeysDetermines which modifier keys (SHIFT, CTRL, and ALT) were pressed to activate a hyperlink.
ShiftIndicates whether the SHIFT key was pressed.
TargetRangeGets the destination range referenced by a hyperlink.
TargetUriGets 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.

See Also

SpreadsheetControl Class

SpreadsheetControl Members

DevExpress.XtraSpreadsheet Namespace