TX Text Control .NET for Windows Forms

Text 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 the text of the table of contents.

Syntax

public string Text { get; }

Examples

The following example creates a table of contents for the document's heading styles by using TableOfContents.Text.

TableOfContents tableOfContents = new(1, 3) { Name = "Contents", ID = 10 };
textControl.TablesOfContents.Add(tableOfContents);

Console.WriteLine($"Text: {tableOfContents.Text}");
Console.WriteLine("Table Of Contents is ready for use.");

Limitations

Read only.