TX Text Control .NET for Windows Forms

Number 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 change's number. The first tracked change has the number 1. The number is defined through the textflow. A change with a smaller start position has a smaller number.

Syntax

public int Number { get; }

Examples

The following example finds the revision with a known document-local number and navigates to it.

foreach (TrackedChange change in textControl.TrackedChanges)
{
    if (change.Number == 3)
    {
        change.ScrollTo();
        break;
    }
}

Limitations

Read only.