TX Text Control .NET for WPF

DialogItem Enumeration

Enumeration|Introduced in 30.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 DialogItem represents an item in a WPF.CommentsDialog 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 CommentsDialog.DialogItem

Members

MemberValueDescription
TXITEM_CommentsCount0Identifies the comments count label.
TXITEM_CommentsRefresh1Identifies the refresh comments button.
TXITEM_CommentsViewer2Identifies the comments viewer.
TXITEM_DeleteComment3Identifies the delete comment button.
TXITEM_DeleteAllComments4Identifies the delete all comments button.
TXITEM_EditComment5Identifies the edit comment button.
TXITEM_ReplyComment6Identifies the reply comment button.
TXITEM_Close7Identifies the close button.

Examples

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

TXTextControl.WPF.CommentsDialog.DialogItem value = TXTextControl.WPF.CommentsDialog.DialogItem.TXITEM_CommentsCount;
Console.WriteLine($"Using Dialog Item: {value}");