TX Text Control .NET for Windows Forms

ButtonFrameColor Property

Property|Introduced in 15.1
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

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

Syntax

public Color ButtonFrameColor { get; set; }

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.

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