ButtonHotTrackTop Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
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; }Public Property ButtonHotTrackTop As ColorExamples
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}");colors.ButtonHotTrackTop = System.Drawing.Color.LightSteelBlue
Console.WriteLine($"Button Hot Track Top used by Colors: {colors.ButtonHotTrackTop}")