TX Text Control .NET for Windows Forms

ResetApplicationMenuColor Method

Method|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

Resets the ribbon's ApplicationMenuColor to its system dependent default value.

Syntax

public void ResetApplicationMenuColor();

Examples

The following example restores the application menu color setting on the colors to its default. The created object is then available to the surrounding document workflow.

colors.ResetApplicationMenuColor();
Console.WriteLine("Colors is ready for use.");