Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

    Take the survey Not interested

    AnnotationOptions Class

    Provides options for annotations (comments and tracked changes).

    Namespace: DevExpress.XtraRichEdit

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

    NuGet Package: DevExpress.RichEdit.Core

    #Declaration

    [ComVisible(false)]
    public class AnnotationOptions :
        RichEditAnnotationOptionsBase

    The following members return AnnotationOptions objects:

    #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