# ButtonBar.Colors.ButtonFrameColor Property

> Gets or sets the frame color of a selected or pressed 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.ButtonFrameColor Property
- **317 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/buttonbar-colors/buttonframecolor-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/buttonbar-colors/buttonframecolor-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/buttonbar-colors/buttonframecolor-property/llms-full.txt

---

### Description

Gets or sets the frame color of a selected or pressed button.

### Syntax

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

```vbnet
Public Property ButtonFrameColor As Color
```

### Examples

The following example uses `Colors.ButtonFrameColor` to configure button frame color as part of the colors workflow. The configured value is checked before the workflow continues.

```csharp
colors.ButtonFrameColor = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Button Frame Color used by Colors: {colors.ButtonFrameColor}");
```

```vbnet
colors.ButtonFrameColor = System.Drawing.Color.LightSteelBlue
Console.WriteLine($"Button Frame Color used by Colors: {colors.ButtonFrameColor}")
```

---

## Nearby

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