DialogItem Enumeration
- Namespace
TXTextControl
- 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 DialogItem represents an item in a CommentsDialog 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 CommentsDialog.FindItem method to get the item and manipulate it.
Syntax
public enum CommentsDialog.DialogItemPublic Enum CommentsDialog.DialogItemMembers
| Member | Value | Description |
|---|---|---|
| TXITEM_CommentsCount | 0 | Identifies the comments count label. |
| TXITEM_CommentsRefresh | 1 | Identifies the refresh comments button. |
| TXITEM_CommentsViewer | 2 | Identifies the comments viewer. |
| TXITEM_DeleteComment | 3 | Identifies the delete comment button. |
| TXITEM_DeleteAllComments | 4 | Identifies the delete all comments button. |
| TXITEM_EditComment | 5 | Identifies the edit comment button. |
| TXITEM_ReplyComment | 6 | Identifies the reply comment button. |
| TXITEM_Close | 7 | Identifies 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.
CommentsDialog.DialogItem value = CommentsDialog.DialogItem.TXITEM_CommentsCount;
Console.WriteLine($"Using Dialog Item: {value}");Dim value As CommentsDialog.DialogItem = CommentsDialog.DialogItem.TXITEM_CommentsCount
Console.WriteLine($"Using Dialog Item: {value}")