DefaultHighlightColor Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets the default highlight color for the reference mark and the footnote mark.
Syntax
public static Color DefaultHighlightColor { get; }Public Shared ReadOnly Property DefaultHighlightColor As ColorExamples
The following example adds and configures a source note at the current input position by using Footnote.DefaultHighlightColor.
Footnote footnote = new("Source: FY 2026 annual report");
textControl.Footnotes.Add(footnote, false);
Console.WriteLine($"Default Highlight Color: {Footnote.DefaultHighlightColor}");
Console.WriteLine("Footnote is ready for use.");Dim footnote As New Footnote("Source: FY 2026 annual report")
textControl.Footnotes.Add(footnote, False)
Console.WriteLine($"Default Highlight Color: {Footnote.DefaultHighlightColor}")
Console.WriteLine("Footnote is ready for use.")