TX Text Control .NET Server

HighlightColor Property

Property|Introduced in 32.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll

Description

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

Syntax

public Color HighlightColor { get; set; }

Examples

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

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}");