# ButtonBar.ResetDisplayColors Method

> Resets all display colors of a button bar to their system dependent default values.

- **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 > ButtonBar.ResetDisplayColors Method
- **251 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/buttonbar/resetdisplaycolors-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/buttonbar/resetdisplaycolors-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/buttonbar/resetdisplaycolors-method/llms-full.txt

---

### Description

Resets all display colors of a button bar to their system dependent default values.

### Syntax

```csharp
public void ResetDisplayColors();
```

```vbnet
Public Sub ResetDisplayColors()
```

### Examples

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

```csharp
buttonBar.ResetDisplayColors();
Console.WriteLine("Button Bar is ready for use.");
```

```vbnet
buttonBar.ResetDisplayColors()
Console.WriteLine("Button Bar is ready for use.")
```

---

## Nearby

- **Previous:** [ButtonBar.ResetButtonSeparators Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/buttonbar/resetbuttonseparators-method/llms-full.txt)
- **Next:** [CannotTrackChangeEventArgs Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/cannottrackchangeeventargs/llms-full.txt)
