TX Text Control .NET for WPF

Start Property

Property|Introduced in 30.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 commented character.

Syntax

public int Start { get; }

Examples

The following example attaches a reviewer comment to selected contract text by using CommentedText.Start.

textControl.Text = "Payment is due within 30 days.";
textControl.Select(0, textControl.Text.Length);
CommentedText commentedText = new("Verify the payment term.");
textControl.Comments.Add(commentedText);

textControl.InputPosition = new InputPosition(commentedText.Start);
Console.WriteLine("Commented Text is ready for use.");

Limitations

Read only.