TX Text Control .NET for Windows Forms

ResetGradientBackColor Method

Method|Introduced in 15.1
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Resets the button bar's GradientBackColor to its system dependent default value.

Syntax

public void ResetGradientBackColor();

Examples

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

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