TX Text Control .NET Server

HypertextLinkEventArgs Class

Class
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Core.dll
Install
dotnet add package TXTextControl.TextControl.Core.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.dll from the setup.
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll
Inherits
  1. EventArgs
  2. HypertextLinkEventArgs

Description

The HypertextLinkEventArgs class provides data for the TextControl.HypertextLinkClicked event.

Syntax

public class HypertextLinkEventArgs : EventArgs

Examples

The following example uses HypertextLinkEventArgs.HypertextLink while handling HypertextLinkClicked.

textControl.HypertextLinkClicked += (_, e) =>
{
    e.HypertextLink?.ScrollTo();
};

Members

Properties

PropertyDescription
HypertextLinkGets an object that represents the clicked hypertext link. It is of the type HypertextLink.