TX Text Control .NET for Windows Forms

ChangeKind Property

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

Description

Gets the kind of change. It can be inserted or deleted text or an inserted or deleted image, textframe, barcode or form.

Syntax

public ChangeKind ChangeKind { get; }

Members

ValueDescription
InsertedTextText has been inserted.
DeletedTextText has been deleted.

Examples

The following example selects the current revision when it represents inserted text.

TrackedChange trackedChange = textControl.TrackedChanges.GetItem();
if (trackedChange == null)
{
    return;
}
if (trackedChange.ChangeKind == ChangeKind.InsertedText)
{
    trackedChange.Select();
}

Further Reading