officefileapi-devexpress-dot-xtrarichedit-dot-trackchangesoptions-637d7fd6.md
Specifies the style of the markup used to indicate inserted content.
Namespace : DevExpress.XtraRichEdit
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
[DefaultValue(DisplayInsertionStyle.Underline)]
public DisplayInsertionStyle DisplayInsertionStyle { get; set; }
<DefaultValue(DisplayInsertionStyle.Underline)>
Public Property DisplayInsertionStyle As DisplayInsertionStyle
| Type | Default | Description |
|---|---|---|
| DisplayInsertionStyle | Underline |
One of the DisplayDeletionStyle enumeration values indicating the markup style.
|
Available values:
| Name | Description |
|---|---|
| None |
The markup is not displayed.
| | ColorOnly |
Changes only the color of inserted content.
| | Bold |
The inserted content is displayed in bold.’
| | Italic |
The inserted content is italicized.
| | Underline |
The inserted content is underlined.
| | DoubleUnderline |
The inserted content is underlined with a double line.
| | Strikethrough |
The inserted content is displayed with the strikethrough effect.
|
You can access this nested property as listed below:
| Object Type | Path to DisplayInsertionStyle |
|---|---|
| AnnotationOptions |
.TrackChanges .DisplayInsertionStyle
|
Specify the TrackChangesOptions.InsertionColor property to define a color for deleted content.
The following code snippets (auto-collected from DevExpress Examples) contain references to the DisplayInsertionStyle 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#L31
trackChangesOptions.FormattingColor = RevisionColor.ClassicBlue;
trackChangesOptions.DisplayInsertionStyle = DisplayInsertionStyle.Underline;
trackChangesOptions.InsertionColor = RevisionColor.DarkRed;
winforms-rich-edit-manage-tracked-changes/CS/XtraRichEdit_TrackChanges/Form1.cs#L72
trackChangesOptions.FormattingColor = RevisionColor.ClassicBlue;
trackChangesOptions.DisplayInsertionStyle = DisplayInsertionStyle.Underline;
trackChangesOptions.InsertionColor = RevisionColor.DarkRed;
word-document-api-use-track-changes/VB/word-processing-document-api-track-changes/Program.vb#L28
trackChangesOptions.FormattingColor = RevisionColor.ClassicBlue
trackChangesOptions.DisplayInsertionStyle = DisplayInsertionStyle.Underline
trackChangesOptions.InsertionColor = RevisionColor.DarkRed
winforms-rich-edit-manage-tracked-changes/VB/XtraRichEdit_TrackChanges/Form1.vb#L59
trackChangesOptions.FormattingColor = RevisionColor.ClassicBlue
trackChangesOptions.DisplayInsertionStyle = DisplayInsertionStyle.Underline
trackChangesOptions.InsertionColor = RevisionColor.DarkRed
See Also