TX Text Control .NET for Windows Forms

IsTrackChangesEnabled Property

Property|Introduced in 26.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.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 change is then applied to the active document or user interface.

textControl.IsTrackChangesEnabled = true;
textControl.Update();