# TextControl.StatusBar Property

> Specifies the status bar control to be used with a TextControl. The property value is an empty string, if there is no status bar connected. Otherwise it must be the name of an existing WPF.StatusBar object.

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

---

### Description

Specifies the status bar control to be used with a TextControl. The property value is an empty string, if there is no status bar connected. Otherwise it must be the name of an existing [WPF.StatusBar](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/llms-full.txt) object.

### Syntax

```csharp
public string StatusBar { get; set; }
```

```vbnet
Public Property StatusBar As String
```

### Examples

The following example uses `TextControl.StatusBar` to configure status bar as part of the text control workflow. The configured value is checked before the workflow continues.

```csharp
textControl.StatusBar = "Quarterly report";
if (!string.IsNullOrWhiteSpace(textControl.StatusBar))
{
    Console.WriteLine($"Status Bar: {textControl.StatusBar}");
}
```

```vbnet
textControl.StatusBar = "Quarterly report"
If Not String.IsNullOrWhiteSpace(textControl.StatusBar) Then
    Console.WriteLine($"Status Bar: {textControl.StatusBar}")
End If
```

---

## Nearby

- **Previous:** [TextControl.SpellCheckText Event](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/spellchecktext-event/llms-full.txt)
- **Next:** [TextControl.SubTextPartClicked Event](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/subtextpartclicked-event/llms-full.txt)
