TX Text Control .NET for WPF

HypertextLinkEventArgs Class

Class
Namespace
TXTextControl
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.dll from the setup.
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.