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

TrackChangesOptions Class

Represents Track Changes color options.

Namespace: DevExpress.XtraRichEdit

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

Declaration

[ComVisible(false)]
public class TrackChangesOptions :
    RichEditAnnotationOptionsBase

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;

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

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.

Inheritance

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