# TextControl.TabIndex Property

> Gets or sets the tab index of the text control.

- **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.TabIndex Property
- **295 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/tabindex-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/tabindex-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/tabindex-property/llms-full.txt

---

### Description

Gets or sets the tab index of the text control.

### Syntax

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

```vbnet
Public Property TabIndex() As Integer
```

### Examples

The following example uses `TextControl.TabIndex` to configure tab index as part of the text control workflow. The configured value is checked before the workflow continues.

```csharp
textControl.TabIndex = 1;
Console.WriteLine($"Tab Index used by Text Control: {textControl.TabIndex}");
```

```vbnet
textControl.TabIndex = 1
Console.WriteLine($"Tab Index used by Text Control: {textControl.TabIndex}")
```

---

## Nearby

- **Previous:** [TextControl.TabDialog Method](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/tabdialog-method/llms-full.txt)
- **Next:** [TextControl.TableCreated Event](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/tablecreated-event/llms-full.txt)
