# InsertMergeBlockDialog.HighlightColor Property

> Returns the selected highlight color to be used for the sub text part representing the merge block.

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

---

### Description

Returns the selected highlight color to be used for the sub text part representing the merge block.

### Syntax

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

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

### Examples

The following example includes the highlight color value in application diagnostics. The created object is then available to the surrounding document workflow.

```csharp
Console.WriteLine($"Highlight Color: {insertMergeBlockDialog.HighlightColor}");
Console.WriteLine("Insert Merge Block Dialog is ready for use.");
```

```vbnet
Console.WriteLine($"Highlight Color: {insertMergeBlockDialog.HighlightColor}")
Console.WriteLine("Insert Merge Block Dialog is ready for use.")
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [InsertMergeBlockDialog.CreatedTable Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-windows-forms/insertmergeblockdialog/createdtable-property/llms-full.txt)
- **Next:** [InsertMergeBlockDialog.MergeBlockInfo Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-windows-forms/insertmergeblockdialog/mergeblockinfo-property/llms-full.txt)
