HypertextLinkEventArgs Class
- Namespace
TXTextControl
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. Core. SDK
- Assembly
TXTextControl.Core. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. Core. SDK TXTextControl.from the setup.dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
- Inherits
- Event
Args - Hypertext
Link Event Args
- Event
Description
The HypertextLinkEventArgs class provides data for the TextControl.HypertextLinkClicked event.
Syntax
public class HypertextLinkEventArgs : EventArgsPublic Class HypertextLinkEventArgs
Inherits EventArgsExamples
The following example uses HypertextLinkEventArgs.HypertextLink while handling HypertextLinkClicked.
textControl.HypertextLinkClicked += (_, e) =>
{
e.HypertextLink?.ScrollTo();
};AddHandler textControl.HypertextLinkClicked,
Sub(sender, e)
If e.HypertextLink IsNot Nothing Then e.HypertextLink.ScrollTo()
End SubMembers
Properties
| Property | Description |
|---|---|
| HypertextLink | Gets an object that represents the clicked hypertext link. It is of the type HypertextLink. |