TX Text Control .NET Server

FormFieldColor Property

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

Gets or sets the highlight color of a form field. This color can be overwritten with the TextField.HighlightColor property. To suppress highlighting a FormField the property value can be set to Color.Transparent.

Syntax

public Color FormFieldColor { get; set; }

Examples

The following example uses Colors.FormFieldColor to configure form field color as part of the colors workflow. The configured value is checked before the workflow continues.

colors.FormFieldColor = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Form Field Color used by Colors: {colors.FormFieldColor}");