TrackedChangesDialog Class
- Namespace
TXTextControl
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXTextControl.Windows. Forms. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXTextControl.from the setup.Windows. Forms. dll
- Inherits
- Form
- Tracked
Changes Dialog
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 TrackedChangesDialog.DialogItem enumeration. The TrackedChangesDialog.FindItem method can be used to get a certain item and manipulate, move or delete it. The TrackedChangesDialog is a modeless dialog box which must be shown with the TrackedChangesDialog.Show method.
Syntax
public class TrackedChangesDialog : FormPublic Class TrackedChangesDialog
Inherits FormExamples
The following example creates a TrackedChangesDialog object and shows the dialog box:
TrackedChangesDialog dlg = new TrackedChangesDialog(textControl1);
dlg.Show();Dim dlg As New TrackedChangesDialog(textControl1)
dlg.Show()The following example creates a Tracked Changes Dialog instance and configures its allow transparency setting for a document workflow.
using TrackedChangesDialog trackedChangesDialog = new(new TextControl());
trackedChangesDialog.AllowTransparency = true;Dim trackedChangesDialog As New TrackedChangesDialog(New TextControl())
trackedChangesDialog.AllowTransparency = TrueMembers
Constructors
| Constructor | Description |
|---|---|
| TrackedChangesDialog | Creates a TrackedChangesDialog object for the specified Windows Forms TextControl. |
Methods
| Method | Description |
|---|---|
| FindItem | Finds a control that has the provided identifier name. |
Enumerations
| Enumeration | Description |
|---|---|
| DialogItem | Each DialogItem represents an item in a TrackedChangesDialog dialog box. The corresponding string of a DialogItem is the same as the item's Name property. The DialogItem enumeration can be used with the TrackedChangesDialog.FindItem method to get the item and manipulate it. |