TX Text Control .NET for WPF

HeaderFooterDeactivated Event

Event|Introduced in 16.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.WPF.dll from the private NuGet feed or Text Control Offline Packages

Description

Occurs when a header or footer loses the current text input position and another part of the document such as a textframe or the main text gets it. The event handler receives an argument of type HeaderFooterEventArgs containing data related to this event.

Syntax

public event HeaderFooterEventHandler HeaderFooterDeactivated;

Examples

The following example records useful context when header footer deactivated occurs.

textControl.HeaderFooterDeactivated += (sender, e) =>
{
    Console.WriteLine($"Header Footer Deactivated at {DateTime.Now:u}");
};