ButtonPressedTop 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 pressed down.
Syntax
public Color ButtonPressedTop { get; set; }Public Property ButtonPressedTop As ColorExamples
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}");colors.ButtonPressedTop = System.Drawing.Color.LightSteelBlue
Console.WriteLine($"Button Pressed Top used by Colors: {colors.ButtonPressedTop}")