HighlightMode Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets a value indicating whether the reference mark and the footnote mark is highlighted.
Syntax
public HighlightMode HighlightMode { get; set; }Public Property HighlightMode As HighlightModeMembers
| Value | Description |
|---|---|
| Auto | Default. The marks are highlighted as specified through the FootnoteCollection.HighlightMode 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.
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}");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}")