TX Text Control .NET for WPF

IsTrackChangesEnabled Property

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

Description

Gets or sets a value indicating whether track changes is active or not. When this property is true, new changes made to the document are marked up. When this property is false, a TextControl stops marking up new changes. Any changes that were already tracked remain marked up in the document until they were removed.

Syntax

public bool IsTrackChangesEnabled { get; set; }

Examples

The following example uses TextControl.IsTrackChangesEnabled to configure is track changes enabled as part of the text control workflow. The configured value is checked before the workflow continues.

textControl.IsTrackChangesEnabled = true;
if (textControl.IsTrackChangesEnabled)
{
    Console.WriteLine("Text Control: Is Track Changes Enabled is enabled.");
}