TextFrameActivated Event
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Occurs when a text frame gets the current text input position from another part of the document such as a header, a footer or the main text. The event handler receives an argument of type TextFrameEventArgs containing data related to this event.
Syntax
public event TextFrameEventHandler TextFrameActivated;Public Event TextFrameActivated As TextFrameEventHandlerExamples
The following example records useful context when text frame activated occurs.
textControl.TextFrameActivated += (sender, e) =>
{
Console.WriteLine($"Text Frame Activated at {DateTime.Now:u}");
};AddHandler textControl.TextFrameActivated,
Sub(sender, e)
Console.WriteLine($"Text Frame Activated at {DateTime.Now:u}")
End Sub