# StatusBar.LineText Property

> Gets or sets the text in the 'Line' area of the status bar.

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

---

### Description

Gets or sets the text in the 'Line' area of the status bar.

### Syntax

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

```vbnet
Public Property LineText As String
```

### Examples

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

```csharp
statusBar.LineText = "Quarterly results";
if (!string.IsNullOrWhiteSpace(statusBar.LineText))
{
    Console.WriteLine($"Line Text: {statusBar.LineText}");
}
```

```vbnet
statusBar.LineText = "Quarterly results"
If Not String.IsNullOrWhiteSpace(statusBar.LineText) Then
    Console.WriteLine($"Line Text: {statusBar.LineText}")
End If
```

---

## Nearby

- **Previous:** [StatusBar.FontWeight Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/fontweight-property/llms-full.txt)
- **Next:** [StatusBar.PageCounterText Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/pagecountertext-property/llms-full.txt)
