TableOfContents Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
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; }Public ReadOnly Property TableOfContents As TableOfContentsExamples
The following example uses TableOfContentsEventArgs.TableOfContents while handling TableOfContentsCreated.
textControl.TableOfContentsCreated += (_, e) =>
{
e.TableOfContents?.ScrollTo();
};AddHandler textControl.TableOfContentsCreated,
Sub(sender, e)
If e.TableOfContents IsNot Nothing Then e.TableOfContents.ScrollTo()
End SubLimitations
Read only.