TextFrameDeactivated 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 a text frame loses the current text input position and another part of the document such as a header, a footer or the main text gets it. The event handler receives an argument of type TextFrameEventArgs containing data related to this event.
Syntax
public event TextFrameEventHandler TextFrameDeactivated;Public Event TextFrameDeactivated As TextFrameEventHandlerExamples
The following example records useful context when text frame deactivated occurs.
textViewGenerator.TextFrameDeactivated += (sender, e) =>
{
Console.WriteLine($"Text Frame Deactivated at {DateTime.Now:u}");
};AddHandler textViewGenerator.TextFrameDeactivated,
Sub(sender, e)
Console.WriteLine($"Text Frame Deactivated at {DateTime.Now:u}")
End Sub