TX Text Control .NET for Windows Forms

TrackedChangeStateChanged Event

Event|Introduced in 26.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Occurs when the state of a tracked change alters from active to inactive or vice versa. An inactive TrackedChange is not highlighted and is not retrieved through the TrackedChangeCollection.GetItem method. The event handler receives an argument of type TrackedChangeEventArgs containing data related to this event.

Syntax

public event TrackedChangeEventHandler TrackedChangeStateChanged;

Examples

The following example records useful context when tracked change state changed occurs.

textControl.TrackedChangeStateChanged += (sender, e) =>
{
    Console.WriteLine($"Tracked Change State Changed at {DateTime.Now:u}");
};