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.


public class CommentsDialog : System.Windows.Forms.Form
Public Class CommentsDialog
  Inherits System.Windows.Forms.Form

Introduced: 30.0.


Constructor Description
CommentsDialog Creates a CommentsDialog object for the specified Windows Forms TextControl.


Enumeration Description
DialogItem Each DialogItem represents an item in a CommentsDialog dialog box.


Method Description
FindItem Finds a control that has the provided identifier name.