Back to Devexpress

CommentOptions.ShowAllAuthors Property

officefileapi-devexpress-dot-xtrarichedit-dot-commentoptions-d042dd29.md

latest3.5 KB
Original Source

CommentOptions.ShowAllAuthors Property

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

Declaration

csharp
[Browsable(false)]
[DefaultValue(true)]
public bool ShowAllAuthors { get; set; }
vb
<DefaultValue(True)>
<Browsable(False)>
Public Property ShowAllAuthors As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true , to show comments by all reviewers; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ShowAllAuthors
AnnotationOptions

.Comments .ShowAllAuthors

| | RichEditControlOptionsBase |

.Comments .ShowAllAuthors

|

Remarks

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

csharp
richEditControl1.Options.Comments.Visibility = DevExpress.XtraRichEdit.RichEditCommentVisibility.Hidden;
    richEditControl1.Options.Comments.ShowAllAuthors = true;
}

winforms-richedit-document-api/VB/RichEditAPISample/DisplayResultControl.vb#L15

vb
richEditControl1.Options.Comments.Visibility = RichEditCommentVisibility.Hidden
    richEditControl1.Options.Comments.ShowAllAuthors = True
End Sub

See Also

CommentOptions Class

CommentOptions Members

DevExpress.XtraRichEdit Namespace