# RibbonTextBox.SelectionStart Property

> Gets or sets the starting position of the text selected in the text box

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 26.0
- **Namespace:** `TXTextControl.Windows.Forms.Ribbon`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Windows.Forms.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.Windows.Forms.Ribbon > RibbonTextBox.SelectionStart Property
- **268 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbontextbox/selectionstart-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbontextbox/selectionstart-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbontextbox/selectionstart-property/llms-full.txt

---

### Description

Gets or sets the starting position of the text selected in the text box

### Syntax

```csharp
public int SelectionStart { get; set; }
```

```vbnet
Public Property SelectionStart As Integer
```

### Examples

The following example uses `RibbonTextBox.SelectionStart` to configure selection start as part of the ribbon text box workflow. The change is then applied to the active document or user interface.

```csharp
ribbonTextBox.SelectionStart = 1;
ribbonTextBox.Update();
```

```vbnet
ribbonTextBox.SelectionStart = 1
ribbonTextBox.Update()
```

---

## Nearby

- **Previous:** [RibbonTextBox.SelectionLength Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbontextbox/selectionlength-property/llms-full.txt)
- **Next:** [RibbonTextBox.ShowUpDownButtons Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbontextbox/showupdownbuttons-property/llms-full.txt)
