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

AnnotationOptions Class

Provides options for annotations (comments and tracked changes).

Namespace: DevExpress.XtraRichEdit

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

NuGet Package: DevExpress.RichEdit.Core

Declaration

[ComVisible(false)]
public class AnnotationOptions :
    RichEditAnnotationOptionsBase

Remarks

The AnnotationOptions class provides options used to manage annotation authors and display options for comments and tracked changes.

Use the AnnotationOptions.Comments property to access comment options. The AnnotationOptions.TrackChanges property provides access to Track Changes options.

The AnnotationOptions.Author, AnnotationOptions.ShowAllAuthors and AnnotationOptions.VisibleAuthors property values are common for all annotations.

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");

Inheritance

Object
ViewStatePersisterCore
BaseOptions
RichEditNotificationOptions
DevExpress.XtraRichEdit.RichEditAnnotationOptionsBase
AnnotationOptions
See Also