Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 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

TrackChangesOptions Class

Represents Track Changes color options.

Namespace: DevExpress.XtraRichEdit

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

NuGet Package: DevExpress.RichEdit.Core

#Declaration

[ComVisible(false)]
public class TrackChangesOptions :
    RichEditAnnotationOptionsBase

The following members return TrackChangesOptions objects:

#Remarks

The AnnotationOptions.TrackChanges property provides access to the TrackChangesOptions object.

Access this property via richEditControl.Options.Annotations.TrackChanges notation.

Tip

Set the DocumentTrackChangesOptions.Enabled property to false or 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;

#Inheritance

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