TX Text Control .NET for Windows Forms

TableOfContents Property

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

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.