TX Text Control .NET for Windows Forms

ResetFormFieldColor Method

Method|Introduced in 28.0
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 text control's FormFieldColor to its default value.

Syntax

public void ResetFormFieldColor();

Examples

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

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