TX Text Control .NET for WPF

TrackedChangesDialog Class

Class|Introduced in 30.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.WPF.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.WPF.dll from the setup.
Inherits
  1. Window
  2. TrackedChangesDialog
Implements
IComponentConnector

Description

The TrackedChangesDialog class implements a dialog box that shows all tracked changes of the document. Each of these elements can be selected to move the current input position to the related reviewed text scope and handle it by accepting or rejecting the corresponding tracked change object. The dialog can be opened as a modeless dialog box. Each item of the dialog box has a name, available through its Name property, which corresponds with a member of the WPF.TrackedChangesDialog.DialogItem enumeration. The FrameworkElement.FindName method can be used to get a certain item and manipulate, move or delete it. The WPF.TrackedChangesDialog is a modeless dialog box which must be shown with the WPF.TrackedChangesDialog.Show method.

Syntax

public class TrackedChangesDialog : Window, IComponentConnector

Examples

The following example creates a TrackedChangesDialog object and shows the dialog box:

TrackedChangesDialog dlg = new TrackedChangesDialog(textControl1);
dlg.Show();

The following example creates a Tracked Changes Dialog instance and configures its allows transparency setting for a document workflow.

TXTextControl.WPF.TrackedChangesDialog trackedChangesDialog = new(new TXTextControl.WPF.TextControl());
trackedChangesDialog.AllowsTransparency = true;

Members

Constructors

ConstructorDescription
TrackedChangesDialogCreates a TrackedChangesDialog object for the specified WPF.TextControl.

Methods

MethodDescription
InitializeComponentNot described in the reference. public void InitializeComponent();

Enumerations

EnumerationDescription
DialogItemEach DialogItem represents an item in a WPF.TrackedChangesDialog dialog box. The corresponding string of a DialogItem is the same as the item's Name property. The string can be used with the FrameworkElement.FindName method to get the item and manipulate, move or delete it.