# StatusBar.Colors.ResetForeColor Method

> Resets the status bar's ForeColor to its system dependent default value.

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

---

### Description

Resets the status bar's [ForeColor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/statusbar-colors/forecolor-property/llms-full.txt) to its system dependent default value.

### Syntax

```csharp
public void ResetForeColor();
```

```vbnet
Public Sub ResetForeColor()
```

### Examples

The following example restores the fore color setting on the colors to its default. The created object is then available to the surrounding document workflow.

```csharp
colors.ResetForeColor();
Console.WriteLine("Colors is ready for use.");
```

```vbnet
colors.ResetForeColor()
Console.WriteLine("Colors is ready for use.")
```

---

## Nearby

- **Previous:** [StatusBar.Colors.ResetBackColorTop Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/statusbar-colors/resetbackcolortop-method/llms-full.txt)
- **Next:** [StatusBar.Colors.ResetFrameColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/statusbar-colors/resetframecolor-method/llms-full.txt)
