TX Text Control .NET for Windows Forms

Text 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 changed text.

Syntax

public string Text { get; }

Examples

The following example selects a revision whose changed text contains a required contract term.

TrackedChange trackedChange = textControl.TrackedChanges.GetItem();
if (trackedChange == null)
{
    return;
}
if (trackedChange.Text.Contains("payment", StringComparison.OrdinalIgnoreCase))
{
    trackedChange.Select();
}

Limitations

Read only.