# MergeBlockSettings.HighlightColor Property

> Specifies the color the inserted merge block is highlighted with if the input position is inside the block. The alpha value of the provided color is used.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 24.0
- **Namespace:** `TXTextControl.DocumentServer.DataSources`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXDocumentServer.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXDocumentServer.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.DocumentServer.DataSources > MergeBlockSettings.HighlightColor Property
- **346 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-datasources/mergeblocksettings/highlightcolor-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-datasources/mergeblocksettings/highlightcolor-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-datasources/mergeblocksettings/highlightcolor-property/llms-full.txt

---

### Description

Specifies the color the inserted merge block is highlighted with if the input position is inside the block. The alpha value of the provided color is used.

### Syntax

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

```vbnet
Public Property HighlightColor As Color
```

### Examples

The following example uses `MergeBlockSettings.HighlightColor` to make the merge block settings easy to identify during editing. The configured value is checked before the workflow continues.

```csharp
mergeBlockSettings.HighlightColor = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Highlight Color used by Merge Block Settings: {mergeBlockSettings.HighlightColor}");
```

```vbnet
mergeBlockSettings.HighlightColor = System.Drawing.Color.LightSteelBlue
Console.WriteLine($"Highlight Color used by Merge Block Settings: {mergeBlockSettings.HighlightColor}")
```

---

## Nearby

- **Previous:** [MergeBlockSettings.FieldDisplayMode Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-datasources/mergeblocksettings/fielddisplaymode-property/llms-full.txt)
- **Next:** [MergeBlockSettings.TableID Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-datasources/mergeblocksettings/tableid-property/llms-full.txt)
