TX Text Control .NET for Windows Forms

HighlightMode Property

Property|Introduced in 26.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets a value indicating whether the tracked change is highlighted.

Syntax

public HighlightMode HighlightMode { get; set; }

Members

ValueDescription
NoneThis value is not used for tracked changes.
ActivatedThis value is not used for tracked changes.
AlwaysThe tracked change is always highlighted.
NeverThe tracked change is never highlighted.

Examples

The following example keeps the current revision highlighted while the document is reviewed.

TrackedChange trackedChange = textControl.TrackedChanges.GetItem();
if (trackedChange == null)
{
    return;
}
trackedChange.HighlightMode = HighlightMode.Always;

Further Reading

  • Tracked Changes: Toggle Markup –