TX Text Control .NET Server

ResetFormFieldColor Method

Method|Introduced in 28.0
Namespace
TXTextControl.ServerVisualisation
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Server.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.Server.dll

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