'Declaration
Public Event HandleHyperlinkAction As EventHandler(Of HyperLinkClickedEventArgs)
public event EventHandler<HyperLinkClickedEventArgs> HandleHyperlinkAction
public: event EventHandler<HyperLinkClickedEventArgs^>^ HandleHyperlinkAction
The event handler receives an argument of type HyperLinkClickedEventArgs containing data related to this event. The following HyperLinkClickedEventArgs properties provide information specific to this event.
Property | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
Action | Determines which action is executed. | ||||||||
Data | Contains the user data or the link for the action to be executed. | ||||||||
Protocol | Contains the used protocol of the user data or the link for the action to be executed. | ||||||||
ReturnValue | Determines whether List & Label should perform its own standard execution or whether no further processing should be executed by List & Label because your own implementation/action has already been executed.
| ||||||||
TooltipText | Determines the tooltip text to be displayed when the mouse is moved over the object in the preview. |
The following example shows how to register the event for List & Label and contains an exemplary implementation that reacts to your own protocol myProtocol and displays special tooltip text accordingly and implements the click actions.
Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9