# TextViewGenerator.Colors.ActiveFormFieldColor Property

> Gets or sets the highlight color of a form field containing the current text input position. To suppress highlighting the active FormField the property value can be set to Color.Transparent.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 28.0
- **Namespace:** `TXTextControl.ServerVisualisation`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Server.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXTextControl.Server.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Server.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.ServerVisualization > TextViewGenerator.Colors.ActiveFormFieldColor Property
- **365 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator-colors/activeformfieldcolor-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator-colors/activeformfieldcolor-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator-colors/activeformfieldcolor-property/llms-full.txt

---

### Description

Gets or sets the highlight color of a form field containing the current text input position. To suppress highlighting the active [FormField](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/formfield/llms-full.txt) the property value can be set to `Color.Transparent`.

### Syntax

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

```vbnet
Public Property ActiveFormFieldColor As Color
```

### Examples

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

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

```vbnet
colors.ActiveFormFieldColor = System.Drawing.Color.LightSteelBlue
Console.WriteLine($"Active Form Field Color used by Colors: {colors.ActiveFormFieldColor}")
```

---

## Nearby

- **Previous:** [TextViewGenerator.Colors Class](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator-colors/llms-full.txt)
- **Next:** [TextViewGenerator.Colors Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator-colors/constructor/llms-full.txt)
