ButtonSelectedTop 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 used when the button is selected.
Syntax
public Color ButtonSelectedTop { get; set; }Public Property ButtonSelectedTop As ColorExamples
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}");colors.ButtonSelectedTop = System.Drawing.Color.LightSteelBlue
Console.WriteLine($"Button Selected Top used by Colors: {colors.ButtonSelectedTop}")