TX Text Control .NET for Windows Forms

ButtonSelectedTop 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 background color at the top of a button used when the button is selected.

Syntax

public Color ButtonSelectedTop { get; set; }

Examples

The following example uses Colors.ButtonSelectedTop to configure button selected top as part of the colors workflow. The configured value is checked before the workflow continues.

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