TX Text Control .NET for WPF

TrackedChangesItem Enumeration

Enumeration|Introduced in 26.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.

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 FrameworkElement.FindName method to get the item and manipulate it.

Syntax

public enum Sidebar.TrackedChangesItem

Members

MemberValueDescription
TXITEM_TrackedChangesCount0Identifies the tracked changes count label.
TXITEM_TrackedChangesRefresh1Identifies the tracked changes refresh button.
TXITEM_TrackedChangesViewer2Identifies the tracked changes overview.
TXITEM_AcceptTrackedChange3Not described in the reference.
TXITEM_RejectTrackedChange4Not described in the reference.
TXITEM_Close5Not 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.WPF.Sidebar.TrackedChangesItem value = TXTextControl.WPF.Sidebar.TrackedChangesItem.TXITEM_TrackedChangesCount;
Console.WriteLine($"Using Tracked Changes Item: {value}");