# TextField.ContainsInputPosition Property

> Returns true, if the Textfield contains the current text input position.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 22.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 > TextField.ContainsInputPosition Property
- **510 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textfield/containsinputposition-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textfield/containsinputposition-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textfield/containsinputposition-property/llms-full.txt

---

### Description

Returns true, if the Textfield contains the current text input position.

### Syntax

```csharp
public bool ContainsInputPosition { get; }
```

```vbnet
Public ReadOnly Property ContainsInputPosition As Boolean
```

### Examples

The following example inserts a Word-compatible text field into a template by using `TextField.ContainsInputPosition`.

```csharp
TextField textField = new ApplicationField(ApplicationFieldFormat.MSWord, "MERGEFIELD", "Customer name", new[] { "CustomerName" });
textControl.TextFields.Add(textField);

if (textField.ContainsInputPosition)
{
    Console.WriteLine("Text Field is ready for this operation.");
}
```

```vbnet
Dim textField As TextField = New ApplicationField(ApplicationFieldFormat.MSWord, "MERGEFIELD", "Customer name", New String() { "CustomerName" })
textControl.TextFields.Add(textField)

If textField.ContainsInputPosition Then
    Console.WriteLine("Text Field is ready for this operation.")
End If
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [TextField Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textfield/constructor/llms-full.txt)
- **Next:** [TextField.Deleteable Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textfield/deleteable-property/llms-full.txt)
