TX Text Control .NET for Windows Forms

DialogItem Enumeration

Enumeration|Introduced in 30.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Windows.Forms.dll
Install
dotnet add package TXTextControl.TextControl.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.Windows.Forms.dll from the setup.

Description

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.

Syntax

public enum TrackedChangesDialog.DialogItem

Members

MemberValueDescription
TXITEM_TrackedChangesCount0Identifies the tracked changes count label.
TXITEM_TrackedChangesRefresh1Identifies the refresh tracked changes button.
TXITEM_TrackedChangesViewer2Identifies the tracked changes viewer.
TXITEM_AcceptTrackedChange3Identifies the accept tracked change button.
TXITEM_AcceptAllTrackedChanges4Identifies the accept all tracked changes button.
TXITEM_RejectTrackedChange5Identifies the reject tracked change button.
TXITEM_RejectAllTrackedChanges6Identifies the reject all tracked changes button.
TXITEM_Close7Identifies the close button.

Examples

The following example selects the TXITEM_Tracked Changes Count value from the Dialog Item enumeration and uses it as a documented workflow choice.

TrackedChangesDialog.DialogItem value = TrackedChangesDialog.DialogItem.TXITEM_TrackedChangesCount;
Console.WriteLine($"Using Dialog Item: {value}");