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 WPF.CommentsDialog.DialogItem enumeration. The FrameworkElement.FindName method can be used to get a certain item and manipulate, move or delete it. The WPF.CommentsDialog is a modeless dialog box which must be shown with the WPF.CommentsDialog.Show method.

Syntax

public class CommentsDialog : System.Windows.Window
Public Class CommentsDialog
  Inherits System.Windows.Window

Introduced: 30.0.

Constructors

Constructor Description
CommentsDialog Creates a CommentsDialog object for the specified WPF.TextControl.

Enumerations

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