TX Text Control .NET for WPF

InputPosition Property

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

Description

Gets or sets the current text input position. The property's value is an object of the type InputPosition.

Syntax

public InputPosition InputPosition { get; set; }

Examples

The following example uses TextControl.InputPosition to configure input position as part of the text control workflow. The configured value is checked before the workflow continues.

textControl.InputPosition = new InputPosition(1);
if (textControl.InputPosition != null)
{
    Console.WriteLine("Text Control: Input Position is available.");
}

Limitations

Runtime only.