TrackedChangesItem Enumeration
- Namespace
TXTextControl.Windows. Forms
- 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
Description
Each TrackedChangesItem represents an item in a predefined TrackedChanges control. The corresponding string of a TrackedChangesItem is the same as the item's Name property. The TrackedChangesItem enumeration can be used with the Sidebar.FindItem method to get the item and manipulate it.
Syntax
public enum Sidebar.TrackedChangesItemPublic Enum Sidebar.TrackedChangesItemMembers
| Member | Value | Description |
|---|---|---|
| TXITEM_TrackedChangesCount | 0 | Identifies the Tracked Changes Count label. |
| TXITEM_TrackedChangesRefresh | 1 | Identifies the Tracked Changes Refresh button. |
| TXITEM_TrackedChangesViewer | 2 | Identifies the Tracked Changes overview. |
| TXITEM_AcceptTrackedChange | 3 | Not described in the reference. |
| TXITEM_RejectTrackedChange | 4 | Not described in the reference. |
| TXITEM_Close | 5 | Not described in the reference. |
Examples
The following example selects the TXITEM_Tracked Changes Count value from the Tracked Changes Item enumeration and uses it as a documented workflow choice.
TXTextControl.Windows.Forms.Sidebar.TrackedChangesItem value = TXTextControl.Windows.Forms.Sidebar.TrackedChangesItem.TXITEM_TrackedChangesCount;
Console.WriteLine($"Using Tracked Changes Item: {value}");Dim value As TXTextControl.Windows.Forms.Sidebar.TrackedChangesItem = TXTextControl.Windows.Forms.Sidebar.TrackedChangesItem.TXITEM_TrackedChangesCount
Console.WriteLine($"Using Tracked Changes Item: {value}")