MenuColor Property
- Namespace
TXTextControl.Windows. Forms. Ribbon
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets or sets the menu color of a ribbon.
Syntax
public Color MenuColor { get; set; }Public Property MenuColor As ColorExamples
The following example uses Colors.MenuColor to configure menu color as part of the colors workflow. The configured value is checked before the workflow continues.
colors.MenuColor = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Menu Color used by Colors: {colors.MenuColor}");colors.MenuColor = System.Drawing.Color.LightSteelBlue
Console.WriteLine($"Menu Color used by Colors: {colors.MenuColor}")