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.TrackChanges Property

    Provides access to the Track Changes options.

    Namespace: DevExpress.XtraRichEdit

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

    NuGet Package: DevExpress.RichEdit.Core

    #Declaration

    public TrackChangesOptions TrackChanges { get; }

    #Property Value

    Type Description
    TrackChangesOptions

    A TrackChangesOptions object containing Track Changes options.

    #Property Paths

    You can access this nested property as listed below:

    Object Type Path to TrackChanges
    RichEditControlOptionsBase
    .Annotations .TrackChanges

    #Remarks

    Tip

    Set the TrackChangesOptions.DisplayForReviewMode property to DisplayForReviewMode.NoMarkup to hide changes on print or export to PDF.

    TrackChangesOptions trackChangesOptions = documentProcessor.Options.Annotations.TrackChanges;
    
    //Change review mode:
    trackChangesOptions.DisplayForReviewMode = DisplayForReviewMode.SimpleMarkup;
    
    //Change display options for insertions and format changes:
    trackChangesOptions.DisplayFormatting = DisplayFormatting.ColorOnly;
    trackChangesOptions.FormattingColor = RevisionColor.ClassicBlue;
    trackChangesOptions.DisplayInsertionStyle = DisplayInsertionStyle.Underline;
    trackChangesOptions.InsertionColor = RevisionColor.DarkRed;
    

    The following code snippets (auto-collected from DevExpress Examples) contain references to the TrackChanges property.

    Note

    The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

    See Also