Back to Devexpress

DXRichEditTrackChangesOptions.DisplayFormatting Property

wpf-devexpress-dot-xpf-dot-richedit-dot-dxrichedittrackchangesoptions-5506b966.md

latest3.3 KB
Original Source

DXRichEditTrackChangesOptions.DisplayFormatting Property

Specifies the markup used to indicate changed format options.

Namespace : DevExpress.Xpf.RichEdit

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

NuGet Package : DevExpress.Wpf.RichEdit

Declaration

csharp
public DisplayFormatting DisplayFormatting { get; set; }
vb
Public Property DisplayFormatting As DisplayFormatting

Property Value

TypeDescription
DisplayFormatting

One of the DisplayFormatting enumeration values indicating the markup for formatting changes.

|

Available values:

NameDescription
None

No formatting is displayed.

| | ColorOnly |

Only the color is changed for the target content.

| | Bold |

The content is displayed in bold.

| | Italic |

The content is italicized.

| | Underline |

The content is underlined.

| | DoubleUnderline |

The content is underlined with a double line.

| | Strikethrough |

The content is displayed with a strikethrough effect.

| | DoubleStrikethrough |

Content is displayed with the double-strikethrough effect.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to DisplayFormatting
DXRichEditAnnotationOptions

.TrackChangesOptions .DisplayFormatting

|

Remarks

Specify the DXRichEditTrackChangesOptions.FormattingColor property to define a color for content with changed format options.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DisplayFormatting 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.

wpf-richedit-manage-tracked-changes/CS/DXRichEdit_TrackChanges/MainWindow.xaml#L15

xml
<dxre:DXRichEditTrackChangesOptions DisplayForReviewMode="AllMarkup"
                                    DisplayFormatting="ColorOnly"
                                    FormattingColor="DarkBlue"

See Also

DXRichEditTrackChangesOptions Class

DXRichEditTrackChangesOptions Members

DevExpress.Xpf.RichEdit Namespace