TrackedChangeEventArgs Class
- Namespace
TXTextControl
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WPF. SDK
- Assembly
TXTextControl.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WPF. SDK TXTextControl.from the setup.dll
- Inherits
- Event
Args - Tracked
Change Event Args
- Event
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 : EventArgsPublic Class TrackedChangeEventArgs
Inherits EventArgsExamples
The following example uses TrackedChangeEventArgs.TrackedChange while handling TrackedChangeChanged.
textControl.TrackedChangeChanged += (_, e) =>
{
e.TrackedChange?.ScrollTo();
};AddHandler textControl.TrackedChangeChanged,
Sub(sender, e)
If e.TrackedChange IsNot Nothing Then e.TrackedChange.ScrollTo()
End SubMembers
Properties
| Property | Description |
|---|---|
| TrackedChange | Gets an object that represents the tracked change which causes the event. It is of the type TrackedChange. |