# TextControlColors.FormFieldColor Property

> 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 Colors.Transparent.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 28.0
- **Namespace:** `TXTextControl.WPF`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.WPF.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.WPF.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.WPF > TextControlColors.FormFieldColor Property
- **402 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrolcolors/formfieldcolor-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrolcolors/formfieldcolor-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrolcolors/formfieldcolor-property/llms-full.txt

---

### Description

Gets or sets the highlight color of a form field. This color can be overwritten with the [TextField.HighlightColor](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/textfield/highlightcolor-property/llms-full.txt) property. To suppress highlighting a [FormField](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/formfield/llms-full.txt) the property value can be set to `Colors.Transparent`.

### Syntax

```csharp
public Color FormFieldColor { get; set; }
```

```vbnet
Public Property FormFieldColor As Color
```

### Examples

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

```csharp
textControlColors.FormFieldColor = System.Windows.Media.Colors.CornflowerBlue;
Console.WriteLine($"Form Field Color used by Text Control Colors: {textControlColors.FormFieldColor}");
```

```vbnet
textControlColors.FormFieldColor = System.Windows.Media.Colors.CornflowerBlue
Console.WriteLine($"Form Field Color used by Text Control Colors: {textControlColors.FormFieldColor}")
```

---

## Nearby

- **Previous:** [TextControlColors.DesktopColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrolcolors/desktopcolor-property/llms-full.txt)
- **Next:** [TextControlColors.HeaderFooterLabelColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrolcolors/headerfooterlabelcolor-property/llms-full.txt)
