officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-documenttrackchangesoptions-9ce0b706.md
Specifies whether to track formatting changes made in this document.
Namespace : DevExpress.XtraRichEdit.API.Native
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
bool TrackFormatting { get; set; }
Property TrackFormatting As Boolean
| Type | Description |
|---|---|
| Boolean |
true , to track formatting changes, otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to TrackFormatting |
|---|---|
| Document |
.TrackChanges .TrackFormatting
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the TrackFormatting 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#L21
documentTrackChangesOptions.Enabled = true;
documentTrackChangesOptions.TrackFormatting = true;
documentTrackChangesOptions.TrackMoves = true;
winforms-rich-edit-manage-tracked-changes/CS/XtraRichEdit_TrackChanges/Form1.cs#L33
richEditControl1.Document.TrackChanges.Enabled = true;
richEditControl1.Document.TrackChanges.TrackFormatting = true;
//Format the specific phrase in the document:
word-document-api-use-track-changes/VB/word-processing-document-api-track-changes/Program.vb#L18
documentTrackChangesOptions.Enabled = True
documentTrackChangesOptions.TrackFormatting = True
documentTrackChangesOptions.TrackMoves = True
winforms-rich-edit-manage-tracked-changes/VB/XtraRichEdit_TrackChanges/Form1.vb#L27
richEditControl1.Document.TrackChanges.Enabled = True
richEditControl1.Document.TrackChanges.TrackFormatting = True
'Format the specific phrase in the document:
See Also
DocumentTrackChangesOptions Interface