TX Text Control .NET Server

TextFieldPosition Enumeration

Enumeration
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Core.dll
Install
dotnet add package TXTextControl.TextControl.Core.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.dll from the setup.
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll

Description

Specifies special text input positions at the beginning and the end of a TextField. The enumeration contains the following values:

Syntax

public enum TextFieldPosition

Members

MemberValueDescription
InsideTextField1The specified position is inside the field.
OutsideTextField2The specified position is outside the field.
InsideNextTextField3The specified position is inside the next field. This member is only possible, if there are two following text fields without any character bewteen the fields. In this case InsideTextField is in the first field, OutsideTextField is between the fields and InsideNextTextField is in the second field.

Examples

The following example selects the Inside Text Field value from the Text Field Position enumeration and uses it as a documented workflow choice.

TextFieldPosition value = TextFieldPosition.InsideTextField;
Console.WriteLine($"Using Text Field Position: {value}");

See Also

InputPosition Constructor.

Further Reading

  • Two TextField Tricks with TX Text Control .NET for Windows Forms –
  • InputPosition Inside or Outside a TextField –