DialogItem Enumeration
- Namespace
TXTextControl.WPF
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WPF. SDK
- Assembly
TXTextControl.WPF. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WPF. SDK TXTextControl.from the setup.WPF. dll
Description
Each 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.
Syntax
public enum TrackedChangesDialog.DialogItemPublic Enum TrackedChangesDialog.DialogItemMembers
| Member | Value | Description |
|---|---|---|
| TXITEM_TrackedChangesCount | 0 | Identifies the tracked changes count label. |
| TXITEM_TrackedChangesRefresh | 1 | Identifies the refresh tracked changes button. |
| TXITEM_TrackedChangesViewer | 2 | Identifies the tracked changes viewer. |
| TXITEM_AcceptTrackedChange | 3 | Identifies the accept tracked change button. |
| TXITEM_AcceptAllTrackedChanges | 4 | Identifies the accept all tracked changes button. |
| TXITEM_RejectTrackedChange | 5 | Identifies the reject tracked change button. |
| TXITEM_RejectAllTrackedChanges | 6 | Identifies the reject all tracked changes button. |
| TXITEM_Close | 7 | Identifies 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.
TXTextControl.WPF.TrackedChangesDialog.DialogItem value = TXTextControl.WPF.TrackedChangesDialog.DialogItem.TXITEM_TrackedChangesCount;
Console.WriteLine($"Using Dialog Item: {value}");Dim value As TXTextControl.WPF.TrackedChangesDialog.DialogItem = TXTextControl.WPF.TrackedChangesDialog.DialogItem.TXITEM_TrackedChangesCount
Console.WriteLine($"Using Dialog Item: {value}")