# StatusBar Class

> The StatusBar class represents a Windows Forms tool bar which can be used to show the position of the curent text input position and other status information of a Windows Forms TextControl. It is inherited from the System.Windows.Forms.Control class. The following describes only the properties, methods and events defined through the StatusBar class. For a list of properties, methods and events inherited from the System.Windows.Forms.Control class see the .NET Framework reference.

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

---

### Description

The StatusBar class represents a Windows Forms tool bar which can be used to show the position of the curent text input position and other status information of a Windows Forms [TextControl](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/llms-full.txt). It is inherited from the `System.Windows.Forms.Control` class. The following describes only the properties, methods and events defined through the `StatusBar` class. For a list of properties, methods and events inherited from the `System.Windows.Forms.Control` class see the .NET Framework reference.

### Syntax

```csharp
public class StatusBar : Control
```

```vbnet
Public Class StatusBar
    Inherits Control
```

### Examples

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

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

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

---

## In This Section

- [StatusBar.BorderStyle Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/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-winforms/reference/txtextcontrol/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-winforms/reference/txtextcontrol/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 StatusBar.Colors.
- [StatusBar.LineText Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/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-winforms/reference/txtextcontrol/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-winforms/reference/txtextcontrol/statusbar/pagetext-property/llms-full.txt): Gets or sets the text in the 'Page' area of the status bar.
- [StatusBar.ResetDisplayColors Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/statusbar/resetdisplaycolors-method/llms-full.txt): Resets all display colors of a status bar to their system dependent default values.
- [StatusBar.SectionCounterText Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/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-winforms/reference/txtextcontrol/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-winforms/reference/txtextcontrol/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-winforms/reference/txtextcontrol/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-winforms/reference/txtextcontrol/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-winforms/reference/txtextcontrol/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-winforms/reference/txtextcontrol/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-winforms/reference/txtextcontrol/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-winforms/reference/txtextcontrol/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-winforms/reference/txtextcontrol/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-winforms/reference/txtextcontrol/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-winforms/reference/txtextcontrol/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.

---

## Nearby

- **Previous:** [SpellCheckTextEventArgs.Text Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/spellchecktexteventargs/text-property/llms-full.txt)
- **Next:** [StatusBar.BorderStyle Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/statusbar/borderstyle-property/llms-full.txt)
