All docs
V20.2
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

AnnotationOptions.TrackChanges Property

Provides access to the Track Changes options.

Namespace: DevExpress.XtraRichEdit

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

Declaration

public TrackChangesOptions TrackChanges { get; }
Public ReadOnly Property TrackChanges As TrackChangesOptions

Property Value

Type Description
TrackChangesOptions

A TrackChangesOptions object containing Track Changes options.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to TrackChanges
WinForms Controls SnapControlOptions
.Annotations.TrackChanges
RichEditControlOptions
.Annotations.TrackChanges
WPF Controls RichEditControlOptions
.Annotations.TrackChanges
Office File API 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;
See Also