# StatusBar.Colors Class

> The StatusBar.Colors class gets, sets or resets the display colors of a Windows Forms StatusBar control. By default the display colors depend on sytem colors. With this class all colors can be individually designed. The colors are only used when the status bar's BorderStyle property has been set to ColorScheme.

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

---

### Description

The StatusBar.Colors class gets, sets or resets the display colors of a Windows Forms [StatusBar](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/statusbar/llms-full.txt) control. By default the display colors depend on sytem colors. With this class all colors can be individually designed. The colors are only used when the status bar's [BorderStyle](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/statusbar/borderstyle-property/llms-full.txt) property has been set to `ColorScheme`.

### Syntax

```csharp
public sealed class StatusBar.Colors : ColorBase
```

```vbnet
Public NotInheritable Class StatusBar.Colors
    Inherits ColorBase
```

### Examples

The following example creates a Colors instance and configures its fore color setting for a document workflow.

```csharp
StatusBar.Colors colors = new();
colors.ForeColor = System.Drawing.Color.LightSteelBlue;
```

```vbnet
Dim colors As New StatusBar.Colors()
colors.ForeColor = System.Drawing.Color.LightSteelBlue
```

---

## In This Section

- [StatusBar.Colors.BackColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/statusbar-colors/backcolor-property/llms-full.txt): Gets or sets the background color at the left edge of the status bar. This color is only used with the ColorScheme border style.
- [StatusBar.Colors.BackColorBottom Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/statusbar-colors/backcolorbottom-property/llms-full.txt): Gets or sets the background color at the bottom of the status bar. This color is only used with the VerticalColorScheme border style.
- [StatusBar.Colors.BackColorMiddle Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/statusbar-colors/backcolormiddle-property/llms-full.txt): Gets or sets the background color in the middle of the status bar. This color is only used with the VerticalColorScheme border style.
- [StatusBar.Colors.BackColorTop Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/statusbar-colors/backcolortop-property/llms-full.txt): Gets or sets the background color at the top of the status bar. This color is only used with the VerticalColorScheme border style.
- [StatusBar.Colors Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/statusbar-colors/constructor/llms-full.txt): Initializes a new instance of the StatusBar.Colors class. After creating the object with this constuctor, individual colors can be set. If the Colors object is assigned to the StatusBar.DisplayColors property, non-set colors are reset to their system dependent default values.
- [StatusBar.Colors.ForeColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/statusbar-colors/forecolor-property/llms-full.txt): Gets or sets the color used for text and numbers.
- [StatusBar.Colors.FrameColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/statusbar-colors/framecolor-property/llms-full.txt): Gets or sets the color of the status bar's frames. This color is only used with the ColorScheme border style.
- [StatusBar.Colors.GradientBackColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/statusbar-colors/gradientbackcolor-property/llms-full.txt): Gets or sets the background color at the right edge of the status bar. This color is only used with the ColorScheme border style.
- [StatusBar.Colors.ResetBackColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/statusbar-colors/resetbackcolor-method/llms-full.txt): Resets the status bar's BackColor to its system dependent default value.
- [StatusBar.Colors.ResetBackColorBottom Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/statusbar-colors/resetbackcolorbottom-method/llms-full.txt): Resets the status bar's BackColorBottom to its system dependent default value.
- [StatusBar.Colors.ResetBackColorMiddle Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/statusbar-colors/resetbackcolormiddle-method/llms-full.txt): Resets the status bar's BackColorMiddle to its system dependent default value.
- [StatusBar.Colors.ResetBackColorTop Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/statusbar-colors/resetbackcolortop-method/llms-full.txt): Resets the status bar's BackColorTop to its system dependent default value.
- [StatusBar.Colors.ResetForeColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/statusbar-colors/resetforecolor-method/llms-full.txt): Resets the status bar's ForeColor to its system dependent default value.
- [StatusBar.Colors.ResetFrameColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/statusbar-colors/resetframecolor-method/llms-full.txt): Resets the status bar's FrameColor to its system dependent default value.
- [StatusBar.Colors.ResetGradientBackColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/statusbar-colors/resetgradientbackcolor-method/llms-full.txt): Resets the status bar's GradientBackColor to its system dependent default value.
- [StatusBar.Colors.ResetSeparatorColorDark Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/statusbar-colors/resetseparatorcolordark-method/llms-full.txt): Resets the status bar's SeparatorColorDark to its system dependent default value.
- [StatusBar.Colors.ResetSeparatorColorLight Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/statusbar-colors/resetseparatorcolorlight-method/llms-full.txt): Resets the status bar's SeparatorColorLight to its system dependent default value.
- [StatusBar.Colors.SeparatorColorDark Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/statusbar-colors/separatorcolordark-property/llms-full.txt): Gets or sets the color of the dark part of a separator. This color is only used with the VerticalColorScheme border style.
- [StatusBar.Colors.SeparatorColorLight Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/statusbar-colors/separatorcolorlight-property/llms-full.txt): Gets or sets the color of the light part of a separator. This color is only used with the VerticalColorScheme border style.

---

## Nearby

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