# ServerTextControl.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:** 12.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.Server.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Server.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl > ServerTextControl.InputPosition Property
- **394 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/servertextcontrol/inputposition-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/servertextcontrol/inputposition-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/servertextcontrol/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 moves the insertion point to the end of the document before appending an approval line.

```csharp
textControl.Text = "Quarterly results";
textControl.InputPosition = new InputPosition(textControl.Text.Length);
textControl.Selection.Text = "\nApproved";
```

```vbnet
textControl.Text = "Quarterly results"
textControl.InputPosition = New InputPosition(textControl.Text.Length)
textControl.Selection.Text = vbCrLf & "Approved"
```

### Limitations

Runtime only.

---

## Nearby

- **Previous:** [ServerTextControl.InlineStyles Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/servertextcontrol/inlinestyles-property/llms-full.txt)
- **Next:** [ServerTextControl.IsCreated Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/servertextcontrol/iscreated-property/llms-full.txt)
