TX Text Control .NET for Windows Forms

ResetApplicationMenuTabColor 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 ApplicationMenuTabColor to its system dependent default value.

Syntax

public void ResetApplicationMenuTabColor();

Examples

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

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