AnnotationOptions.VisibleAuthors Property
Provides access to the visible reviewer’s names collection.
Namespace: DevExpress.XtraRichEdit
Assembly: DevExpress.RichEdit.v25.1.Core.dll
NuGet Package: DevExpress.RichEdit.Core
Declaration
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 |
|
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