TX Text Control .NET Server

TrackedChangeEventArgs Class

Class|Introduced in 26.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Core.dll
Install
dotnet add package TXTextControl.TextControl.Core.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.dll from the setup.
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll
Inherits
  1. EventArgs
  2. TrackedChangeEventArgs

Description

The TrackedChangeEventArgs class provides data for the TrackedChangeChanged, TrackedChangeCreated, TrackedChangeStateChanged, and TrackedChangeDeleted events. When a tracked change is deleted, the TrackedChange object provided with the event data has the following valid properties: ChangeKind, UserName, HighlightColor, HighlightMode and ChangeTime. All other properties are undefined.

Syntax

public class TrackedChangeEventArgs : EventArgs

Examples

The following example uses TrackedChangeEventArgs.TrackedChange while handling TrackedChangeChanged.

textControl.TrackedChangeChanged += (_, e) =>
{
    e.TrackedChange?.ScrollTo();
};

Members

Properties

PropertyDescription
TrackedChangeGets an object that represents the tracked change which causes the event. It is of the type TrackedChange.