# Footnote.HighlightMode Property

> Gets or sets a value indicating whether the reference mark and the footnote mark is highlighted.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 32.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.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 Windows Forms > Reference > TXTextControl > Footnote.HighlightMode Property
- **545 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/footnote/highlightmode-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/footnote/highlightmode-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/footnote/highlightmode-property/llms-full.txt

---

### Description

Gets or sets a value indicating whether the reference mark and the footnote mark is highlighted.

### Syntax

```csharp
public HighlightMode HighlightMode { get; set; }
```

```vbnet
Public Property HighlightMode As HighlightMode
```

### Members

| Value | Description |
|---|---|
| Auto | Default. The marks are highlighted as specified through the [FootnoteCollection.HighlightMode](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/footnotecollection/highlightmode-property/llms-full.txt) property. |
| Activated | The marks are highlighted when they contain the text input position. |
| Always | The marks are always highlighted. |
| Never | The marks are never highlighted. |

### Examples

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

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

footnote.HighlightMode = HighlightMode.Never;
Console.WriteLine($"Highlight Mode used by Footnote: {footnote.HighlightMode}");
```

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

footnote.HighlightMode = HighlightMode.Never
Console.WriteLine($"Highlight Mode used by Footnote: {footnote.HighlightMode}")
```

---

## Nearby

- **Previous:** [Footnote.HighlightColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/footnote/highlightcolor-property/llms-full.txt)
- **Next:** [Footnote.ID Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/footnote/id-property/llms-full.txt)
