TX Text Control .NET Server

DocumentLinkEventArgs 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. DocumentLinkEventArgs

Description

The DocumentLinkEventArgs class provides data for the TextControl.DocumentLinkClicked event.

Syntax

public class DocumentLinkEventArgs : EventArgs

Examples

The following example uses DocumentLinkEventArgs.DocumentLink while handling DocumentLinkClicked.

textControl.DocumentLinkClicked += (_, e) =>
{
    e.DocumentLink?.ScrollTo();
};

Members

Properties

PropertyDescription
DocumentLinkGets an object that represents the clicked document link. It is of the type DocumentLink.