# CommentsDialog Class

> The CommentsDialog class implements a dialog box that shows all comments of the document. Each of these elements can be selected to move the current input position to the corresponding commented text and handle the related comment by deleting, replying to or editing it. The dialog can be opened as a modeless dialog box. Each item of the dialog box has a name, available through its Name property, which corresponds with a member of the CommentsDialog.DialogItem enumeration. The CommentsDialog.FindItem method can be used to get a certain item and manipulate, move or delete it. The CommentsDialog is a modeless dialog box which must be shown with the CommentsDialog.Show method.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 30.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Windows.Forms.dll` from the setup
- **Inherits:** `System.Windows.Forms.Form`
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl > CommentsDialog Class
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/commentsdialog/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/commentsdialog/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/commentsdialog/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/commentsdialog/#description)
- [Syntax](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/commentsdialog/#syntax)
- [Examples](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/commentsdialog/#examples)
- [Members](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/commentsdialog/#members)

---

## In This Section

- [CommentsDialog Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/commentsdialog/constructor/llms.txt): Creates a CommentsDialog object for the specified Windows Forms TextControl.
- [CommentsDialog.DialogItem Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/commentsdialog/dialogitem-enumeration/llms.txt): 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.
- [CommentsDialog.FindItem Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/commentsdialog/finditem-method/llms.txt): Finds a control that has the provided identifier name.

---

## Nearby

- **Previous:** [CommentEventArgs.CommentedText Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/commenteventargs/commentedtext-property/llms.txt)
- **Next:** [CommentsDialog Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/commentsdialog/constructor/llms.txt)
