TX Text Control .NET for WPF

Start Property

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

Description

Gets the index (one-based) of the first character which belongs to the editable region.

Syntax

public int Start { get; }

Examples

The following example marks selected contract text as editable by the review team by using EditableRegion.Start.

textControl.Text = "Terms subject to legal review";
textControl.Select(0, textControl.Text.Length);
EditableRegion editableRegion = new("ReviewTeam", 10);
textControl.EditableRegions.Add(editableRegion);

textControl.InputPosition = new InputPosition(editableRegion.Start);
Console.WriteLine("Editable Region is ready for use.");

Limitations

Read only.