TableOfContentsLeft 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 left a table of contents. The event handler receives an argument of type TableOfContentsEventArgs containing data related to this event.
Syntax
public event TableOfContentsEventHandler TableOfContentsLeft;Public Event TableOfContentsLeft As TableOfContentsEventHandlerExamples
The following example records useful context when table of contents left occurs.
textViewGenerator.TableOfContentsLeft += (sender, e) =>
{
Console.WriteLine($"Table Of Contents Left at {DateTime.Now:u}");
};AddHandler textViewGenerator.TableOfContentsLeft,
Sub(sender, e)
Console.WriteLine($"Table Of Contents Left at {DateTime.Now:u}")
End Sub