Skip to main content

AnnotationOptions.VisibleAuthors Property

Provides access to the visible reviewer’s names collection.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v24.1.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

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:

Object Type Path to VisibleAuthors
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