# ButtonBar.Colors.ButtonHotTrackTop Property

> Gets or sets the background color at the top of a button, if the mouse cursor is over the button.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **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.Colors.ButtonHotTrackTop Property
- **325 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/buttonbar-colors/buttonhottracktop-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/buttonbar-colors/buttonhottracktop-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/buttonbar-colors/buttonhottracktop-property/llms-full.txt

---

### Description

Gets or sets the background color at the top of a button, if the mouse cursor is over the button.

### Syntax

```csharp
public Color ButtonHotTrackTop { get; set; }
```

```vbnet
Public Property ButtonHotTrackTop As Color
```

### Examples

The following example uses `Colors.ButtonHotTrackTop` to configure button hot track top as part of the colors workflow. The configured value is checked before the workflow continues.

```csharp
colors.ButtonHotTrackTop = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Button Hot Track Top used by Colors: {colors.ButtonHotTrackTop}");
```

```vbnet
colors.ButtonHotTrackTop = System.Drawing.Color.LightSteelBlue
Console.WriteLine($"Button Hot Track Top used by Colors: {colors.ButtonHotTrackTop}")
```

---

## Nearby

- **Previous:** [ButtonBar.Colors.ButtonHotTrackBottom Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/buttonbar-colors/buttonhottrackbottom-property/llms-full.txt)
- **Next:** [ButtonBar.Colors.ButtonPressedBottom Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/buttonbar-colors/buttonpressedbottom-property/llms-full.txt)
