officefileapi-devexpress-dot-xtrarichedit-dot-commentoptions-d042dd29.md
Gets or sets whether to show comments by all reviewers.
Namespace : DevExpress.XtraRichEdit
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
[Browsable(false)]
[DefaultValue(true)]
public bool ShowAllAuthors { get; set; }
<DefaultValue(True)>
<Browsable(False)>
Public Property ShowAllAuthors As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true , to show comments by all reviewers; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to ShowAllAuthors |
|---|---|
| AnnotationOptions |
.Comments .ShowAllAuthors
| | RichEditControlOptionsBase |
.Comments .ShowAllAuthors
|
To show the comments by certain reviewers only, set the ShowAllAuthors property to false and specify the reviewer names using the CommentOptions.VisibleAuthors property.
Note
Use the AnnotationOptions.ShowAllAuthors property instead.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowAllAuthors property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-richedit-document-api/CS/RichEditAPISample/DisplayResultControl.cs#L21
richEditControl1.Options.Comments.Visibility = DevExpress.XtraRichEdit.RichEditCommentVisibility.Hidden;
richEditControl1.Options.Comments.ShowAllAuthors = true;
}
winforms-richedit-document-api/VB/RichEditAPISample/DisplayResultControl.vb#L15
richEditControl1.Options.Comments.Visibility = RichEditCommentVisibility.Hidden
richEditControl1.Options.Comments.ShowAllAuthors = True
End Sub
See Also