TX Text Control .NET Server

TableOfContents Property

Property|Introduced in 29.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll

Description

Gets an object that represents the table of contents which causes the event. It is of the type TableOfContents.

Syntax

public TableOfContents TableOfContents { get; }

Examples

The following example uses TableOfContentsEventArgs.TableOfContents while handling TableOfContentsCreated.

textControl.TableOfContentsCreated += (_, e) =>
{
    e.TableOfContents?.ScrollTo();
};

Limitations

Read only.