# TextFieldType Enumeration

> Specifies types of text fields. The enumeration contains the following values:

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Enumeration
- **Introduced:** 24.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl > TextFieldType Enumeration
- **870 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textfieldtype/enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textfieldtype/enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textfieldtype/enumeration/llms-full.txt

---

### Description

Specifies types of text fields. The enumeration contains the following values:

### Syntax

```csharp
[Flags]
public enum TextFieldType
```

```vbnet
<Flags>
Public Enum TextFieldType
```

### Members

| Member | Value | Description |
|---|---|---|
| ApplicationField | 98304 | The field type is [ApplicationField](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/applicationfield/llms-full.txt). |
| CheckFormField | 262144 | The field type is [CheckFormField](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/checkformfield/llms-full.txt). |
| DateFormField | 2097152 | The field type is [DateFormField](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/dateformfield/llms-full.txt). |
| FormFields | 3932160 | Specifies all types of [FormFields](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/formfield/llms-full.txt). |
| HypertextLink | 512 | The field type is [HypertextLink](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/hypertextlink/llms-full.txt). |
| DocumentLink | 1024 | The field type is [DocumentLink](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/documentlink/llms-full.txt). |
| PageNumberField | 133120 | The field type is [PageNumberField](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/pagenumberfield/llms-full.txt). |
| SelectionFormField | 524288 | The field type is [SelectionFormField](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/selectionformfield/llms-full.txt). |
| TextFormField | 1048576 | The field type is [TextFormField](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textformfield/llms-full.txt). |
| TextField | 16384 | The field type is [TextField](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textfield/llms-full.txt). |
| All | 4181760 | Specifies all types of text fields. |

### Examples

The following example selects the Hypertext Link value from the Text Field Type enumeration and uses it as a documented workflow choice.

```csharp
TextFieldType value = TextFieldType.HypertextLink;
Console.WriteLine($"Using Text Field Type: {value}");
```

```vbnet
Dim value As TextFieldType = TextFieldType.HypertextLink
Console.WriteLine($"Using Text Field Type: {value}")
```

### See Also

[IFormattedText.GetTextFields](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/iformattedtext/gettextfields-method/llms-full.txt) Method.

---

## Nearby

- **Previous:** [TextFieldPosition Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textfieldposition/enumeration/llms-full.txt)
- **Next:** [TextFormField Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textformfield/llms-full.txt)
