TX Text Control .NET for WPF

ChangeTime Property

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

Description

Gets the date and time when the change has been made. The time is a Coordinated Universal Time (UTC).

Syntax

public DateTime ChangeTime { get; }

Examples

The following example identifies revisions created during the current review day.

TrackedChange trackedChange = textControl.TrackedChanges.GetItem();
if (trackedChange == null)
{
    return;
}
if (trackedChange.ChangeTime.Date == DateTime.Today)
{
    trackedChange.ScrollTo();
}