# StatusBar Class

> The WPF.StatusBar class represents a tool bar which can be used to show the position of the curent text input position and other status information of a WPF.TextControl. It can be connected with a WPF.TextControl through the WPF.TextControl.StatusBar property.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Class
- **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
- **Inherits:** `System.Windows.Controls.Control` › `TXTextControl.WPF.TextControlToolBar`
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.WPF > StatusBar Class
- **1714 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/llms-full.txt

---

### Description

The WPF.StatusBar class represents a tool bar which can be used to show the position of the curent text input position and other status information of a [WPF.TextControl](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/llms-full.txt). It can be connected with a [WPF.TextControl](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/llms-full.txt) through the [WPF.TextControl.StatusBar](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/statusbar-property/llms-full.txt) property.

### Syntax

```csharp
public class StatusBar : TextControlToolBar
```

```vbnet
Public Class StatusBar
    Inherits TextControlToolBar
```

### Examples

The following example creates a Status Bar instance and configures its border style setting for a document workflow.

```csharp
TXTextControl.WPF.StatusBar statusBar = new();
statusBar.BorderStyle = StatusBarBorderStyle.Fixed3D;
```

```vbnet
Dim statusBar As New TXTextControl.WPF.StatusBar()
statusBar.BorderStyle = StatusBarBorderStyle.Fixed3D
```

---

## In This Section

- [StatusBar.BorderStyle Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/borderstyle-property/llms-full.txt): Gets or sets the border style of the status bar.
- [StatusBar.ColumnText Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/columntext-property/llms-full.txt): Gets or sets the text in the 'Column' area of the status bar.
- [StatusBar.DisplayColors Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/displaycolors-property/llms-full.txt): Gets or sets the colors of the status bar. These colors are only used when the BorderStyle property has been set to ColorScheme. The property value is an object of the type WPF.StatusBarColors.
- [StatusBar.FontFamily Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/fontfamily-property/llms-full.txt): Gets or sets the font family of the status bar. This is a dependency property. The property value has the type System.Windows.Media.FontFamily.
- [StatusBar.FontSize Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/fontsize-property/llms-full.txt): Gets or sets the font size of the status bar in device-independent units (1/96th inch). This is a dependency property.
- [StatusBar.FontStyle Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/fontstyle-property/llms-full.txt): Gets or sets the font style of the status bar. This is a dependency property. The property value has the type System.Windows.FontStyle. The default value is FontStyles.Normal.
- [StatusBar.FontWeight Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/fontweight-property/llms-full.txt): Gets or sets the weight or thickness of the status bar's font. This is a dependency property. The property value has the type System.Windows.FontWeight. The default value is FontWeights.Normal.
- [StatusBar.LineText Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/linetext-property/llms-full.txt): Gets or sets the text in the 'Line' area of the status bar.
- [StatusBar.PageCounterText Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/pagecountertext-property/llms-full.txt): Gets or sets the text in the 'Page counter' area of the status bar.
- [StatusBar.PageText Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/pagetext-property/llms-full.txt): Gets or sets the text in the 'Page' area of the status bar.
- [StatusBar.SectionCounterText Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/sectioncountertext-property/llms-full.txt): Gets or sets the text in the 'Section counter' area of the status bar.
- [StatusBar.SectionText Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/sectiontext-property/llms-full.txt): Gets or sets the text in the 'Section' area of the status bar.
- [StatusBar.ShowColumn Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/showcolumn-property/llms-full.txt): Specifies whether the status bar shows the column number of the current text input position.
- [StatusBar.ShowKeyStates Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/showkeystates-property/llms-full.txt): Specifies whether the status bar shows the key state of the CAPSLOCK and the NUMLOCK key and the current insertion mode, insert or overwrite.
- [StatusBar.ShowLanguage Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/showlanguage-property/llms-full.txt): Specifies whether the status bar shows the language of the text selection or the text input position.
- [StatusBar.ShowLine Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/showline-property/llms-full.txt): Specifies whether the status bar shows the line number of the current text input position.
- [StatusBar.ShowPage Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/showpage-property/llms-full.txt): Specifies whether the status bar shows the page number of the current text input position.
- [StatusBar.ShowPageCounter Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/showpagecounter-property/llms-full.txt): Specifies whether the status bar shows the number of pages the document consists of.
- [StatusBar.ShowSection Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/showsection-property/llms-full.txt): Specifies whether the status bar shows the section number of the current text input position.
- [StatusBar.ShowSectionCounter Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/showsectioncounter-property/llms-full.txt): Specifies whether the status bar shows the number of sections the document consists of.
- [StatusBar.ShowZoom Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/showzoom-property/llms-full.txt): Specifies whether the status bar shows the current zoom factor.
- [StatusBar.ShowZoomTrackBar Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/showzoomtrackbar-property/llms-full.txt): Specifies whether the status bar displays a track bar instead of a simple number to show and to set the zooming factor.
- [StatusBar.Text Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/text-property/llms-full.txt): Gets or sets the text of the status bar. When a text is set, the status bar shows this text until a status of a connected WPF.TextControl changes.

---

## Nearby

- **Previous:** [Sidebar.TrackedChangesItem Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/sidebar/trackedchangesitem-enumeration/llms-full.txt)
- **Next:** [StatusBar.BorderStyle Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/borderstyle-property/llms-full.txt)
