HighlightColor Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets the highlight color for the reference mark and the footnote mark.
Syntax
public Color HighlightColor { get; set; }Public Property HighlightColor As ColorExamples
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}");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}")