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