# TextControl.InputPosition Property

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

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 16.0
- **Namespace:** `TXTextControl.WPF`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.WPF.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.WPF.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.WPF > TextControl.InputPosition Property
- **420 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/inputposition-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/inputposition-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/inputposition-property/llms-full.txt

---

### Description

Gets or sets the current text input position. The property's value is an object of the type [InputPosition](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/inputposition/llms-full.txt).

### Syntax

```csharp
public InputPosition InputPosition { get; set; }
```

```vbnet
Public Property InputPosition As InputPosition
```

### 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.

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

```vbnet
textControl.InputPosition = New InputPosition(1)
If textControl.InputPosition IsNot Nothing Then
    Console.WriteLine("Text Control: Input Position is available.")
End If
```

### Limitations

Runtime only.

---

## Nearby

- **Previous:** [TextControl.InputParagraphChanged Event](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/inputparagraphchanged-event/llms-full.txt)
- **Next:** [TextControl.InputPositionChanged Event](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/inputpositionchanged-event/llms-full.txt)
