TX Text Control .NET for Windows Forms

ButtonHotTrackTop 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, if the mouse cursor is over the button.

Syntax

public Color ButtonHotTrackTop { get; set; }

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.

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