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