TX Text Control .NET for Windows Forms

ButtonPressedTop 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 pressed down.

Syntax

public Color ButtonPressedTop { get; set; }

Examples

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

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