TableOfContentsEntered Event
- Namespace
TXTextControl.ServerVisualisation
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. Core. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.Server. dll
Description
Occurs when the current input position has been moved to a position that belongs to a table of contents. The event handler receives an argument of type TableOfContentsEventArgs containing data related to this event.
Syntax
public event TableOfContentsEventHandler TableOfContentsEntered;Public Event TableOfContentsEntered As TableOfContentsEventHandlerExamples
The following example records useful context when table of contents entered occurs.
textViewGenerator.TableOfContentsEntered += (sender, e) =>
{
Console.WriteLine($"Table Of Contents Entered at {DateTime.Now:u}");
};AddHandler textViewGenerator.TableOfContentsEntered,
Sub(sender, e)
Console.WriteLine($"Table Of Contents Entered at {DateTime.Now:u}")
End Sub