Back to Devexpress

TrackChangesOptions.DisplayForReviewMode Property

officefileapi-devexpress-dot-xtrarichedit-dot-trackchangesoptions.md

latest4.3 KB
Original Source

TrackChangesOptions.DisplayForReviewMode Property

Specifies how to display document changes.

Namespace : DevExpress.XtraRichEdit

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
[DefaultValue(DisplayForReviewMode.SimpleMarkup)]
public DisplayForReviewMode DisplayForReviewMode { get; set; }
vb
<DefaultValue(DisplayForReviewMode.SimpleMarkup)>
Public Property DisplayForReviewMode As DisplayForReviewMode

Property Value

TypeDefaultDescription
DisplayForReviewModeSimpleMarkup

One of the DisplayForReviewMode enumeration values indicating the display mode.

|

Available values:

NameDescription
SimpleMarkup

The changes are indicated by a red line in the margin.

| | AllMarkup |

Detailed view of the changes.

| | NoMarkup |

No markup is displayed, and the document looks as if you make all the suggested changes permanent.

| | Original |

The document is displayed without any suggested changes. Currently not supported.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to DisplayForReviewMode
AnnotationOptions

.TrackChanges .DisplayForReviewMode

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the DisplayForReviewMode 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.

word-document-api-use-track-changes/CS/word-processing-document-api-track-changes/Program.cs#L28

csharp
trackChangesOptions.DisplayForReviewMode = DisplayForReviewMode.AllMarkup;
trackChangesOptions.DisplayFormatting = DisplayFormatting.ColorOnly;

winforms-rich-edit-manage-tracked-changes/CS/XtraRichEdit_TrackChanges/Form1.cs#L69

csharp
trackChangesOptions.DisplayForReviewMode = DisplayForReviewMode.AllMarkup;
trackChangesOptions.DisplayFormatting = DisplayFormatting.ColorOnly;

word-document-api-use-track-changes/VB/word-processing-document-api-track-changes/Program.vb#L25

vb
trackChangesOptions.DisplayForReviewMode = DisplayForReviewMode.AllMarkup
trackChangesOptions.DisplayFormatting = DisplayFormatting.ColorOnly

winforms-rich-edit-manage-tracked-changes/VB/XtraRichEdit_TrackChanges/Form1.vb#L56

vb
'Specify how revisions should be displyed in the document:
trackChangesOptions.DisplayForReviewMode = DisplayForReviewMode.AllMarkup
trackChangesOptions.DisplayFormatting = DisplayFormatting.ColorOnly

See Also

TrackChangesOptions Class

TrackChangesOptions Members

DevExpress.XtraRichEdit Namespace