TX Text Control .NET for WPF

Length 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 number of changed characters.

Syntax

public int Length { get; }

Examples

The following example selects the complete text range represented by the current revision.

TrackedChange trackedChange = textControl.TrackedChanges.GetItem();
if (trackedChange == null)
{
    return;
}
textControl.Select(trackedChange.Start, trackedChange.Length);

Limitations

Read only.