Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

AnnotationOptions.VisibleAuthors Property

Provides access to the visible reviewer’s names collection.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v20.2.Core.dll

NuGet Package: DevExpress.RichEdit.Core

Declaration

public IList<string> VisibleAuthors { get; }

Property Value

Type Description
IList<String>

A IList<T> object that is the collection of visible author’s names.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to VisibleAuthors
WinForms Controls SnapControlOptions
.Annotations .VisibleAuthors
RichEditControlOptions
.Annotations .VisibleAuthors
WPF Controls RichEditControlOptions
.Annotations .VisibleAuthors
Office File API RichEditControlOptionsBase
.Annotations .VisibleAuthors

Remarks

Set the AnnotationOptions.ShowAllAuthors property to false to disable showing annotations from authors. Then you can use the AnnotationOptions.VisibleAuthors property to remove or add reviewers whose annotations (comments and tracked changes) should be displayed.

richEditControl.Options.Annotations.Author = "Anne Dodsworth";

//Disable showing revisions from all authors
richEditControl.Options.Annotations.ShowAllAuthors = false;

//Remove authors whose revisions should not be displayed:
richEditControl.Options.Annotations.VisibleAuthors.Remove("Ryan Anita W");
richEditControl.Options.Annotations.VisibleAuthors.Remove("Michael Suyama");
See Also