TX Text Control .NET for Windows Forms

MenuColor Property

Property|Introduced in 24.0
Namespace
TXTextControl.Windows.Forms.Ribbon
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 menu color of a ribbon.

Syntax

public Color MenuColor { get; set; }

Examples

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}");