# Footnote.HighlightColor Property

> Gets or sets the highlight color for the reference mark and the footnote mark.

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

---

### Description

Gets or sets the highlight color for the reference mark and the footnote mark.

### Syntax

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

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

### Examples

The following example adds and configures a source note at the current input position by using `Footnote.HighlightColor`.

```csharp
Footnote footnote = new("Source: FY 2026 annual report");
textControl.Footnotes.Add(footnote, false);

footnote.HighlightColor = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Highlight Color used by Footnote: {footnote.HighlightColor}");
```

```vbnet
Dim footnote As New Footnote("Source: FY 2026 annual report")
textControl.Footnotes.Add(footnote, False)

footnote.HighlightColor = System.Drawing.Color.LightSteelBlue
Console.WriteLine($"Highlight Color used by Footnote: {footnote.HighlightColor}")
```

---

## Nearby

- **Previous:** [Footnote.Edit Method](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/footnote/edit-method/llms-full.txt)
- **Next:** [Footnote.HighlightMode Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/footnote/highlightmode-property/llms-full.txt)
