From a169fe755b66e0aee2fa544e72f2808d8bc20ef0 Mon Sep 17 00:00:00 2001 From: suriyaprakasamr Date: Sun, 6 Sep 2026 19:45:15 +0530 Subject: [PATCH 1/3] 1052603: Document the custom colors feature for track changes Added a section on custom colors for track changes in the DOCX editor, including example code for setting revision colors. --- .../Word-Processor/blazor/track-changes.md | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/Document-Processing/Word/Word-Processor/blazor/track-changes.md b/Document-Processing/Word/Word-Processor/blazor/track-changes.md index 9c9899e10e..141be3a0bb 100644 --- a/Document-Processing/Word/Word-Processor/blazor/track-changes.md +++ b/Document-Processing/Word/Word-Processor/blazor/track-changes.md @@ -76,6 +76,36 @@ await container.DocumentEditor.Selection.NavigateNextRevisionAsync(); */ await container.DocumentEditor.Selection.NavigatePreviousRevisionAsync(); ``` +## Custom Colors for Track Changes + +You can set an array of colors to show track changes such as insertions and deletions in the DOCX editor. +Each author is assigned a color in order: the first author gets the first color, the second author gets the next, and so on. +If there are more authors than colors, the assignment starts again from the beginning of the array. + +The following example illustrates how to set the color order for track changes in the DOCX Editor + +```razor + + + +@code { + private SfDocumentEditorContainer container; + + // Define settings with revision colors + private DocumentEditorSettingsModel settings = new DocumentEditorSettingsModel() + { + RevisionSettings = new RevisionSettings() + { + RevisionColors = new string[] + { + "#0e76b1", + "#bb00ff", + "#c14f16" + } + } + }; +} +``` ## Filter changes by user From d2bfb04b0182e886de1e6aadde73215480c08ed3 Mon Sep 17 00:00:00 2001 From: Vellaisamy Auvudaiappan Date: Mon, 7 Sep 2026 13:40:53 +0530 Subject: [PATCH 2/3] 1052603-changed to single line in track-changes.md file --- .../Word/Word-Processor/blazor/track-changes.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Document-Processing/Word/Word-Processor/blazor/track-changes.md b/Document-Processing/Word/Word-Processor/blazor/track-changes.md index 141be3a0bb..d3b5a071cc 100644 --- a/Document-Processing/Word/Word-Processor/blazor/track-changes.md +++ b/Document-Processing/Word/Word-Processor/blazor/track-changes.md @@ -78,9 +78,7 @@ await container.DocumentEditor.Selection.NavigatePreviousRevisionAsync(); ``` ## Custom Colors for Track Changes -You can set an array of colors to show track changes such as insertions and deletions in the DOCX editor. -Each author is assigned a color in order: the first author gets the first color, the second author gets the next, and so on. -If there are more authors than colors, the assignment starts again from the beginning of the array. +You can set an array of colors to show track changes such as insertions and deletions in the DOCX editor. Each author is assigned a color in order: the first author gets the first color, the second author gets the next, and so on. If there are more authors than colors, the assignment starts again from the beginning of the array. The following example illustrates how to set the color order for track changes in the DOCX Editor From 77d810b639e55faff361534d343484c1d4ece1e5 Mon Sep 17 00:00:00 2001 From: suriyaprakasamr Date: Wed, 9 Sep 2026 19:39:37 +0530 Subject: [PATCH 3/3] Fix variable naming for DocumentEditorSettingsModel Modified the variable name --- .../Word/Word-Processor/blazor/track-changes.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Document-Processing/Word/Word-Processor/blazor/track-changes.md b/Document-Processing/Word/Word-Processor/blazor/track-changes.md index d3b5a071cc..65a4c081e8 100644 --- a/Document-Processing/Word/Word-Processor/blazor/track-changes.md +++ b/Document-Processing/Word/Word-Processor/blazor/track-changes.md @@ -88,12 +88,11 @@ The following example illustrates how to set the color order for track changes i @code { private SfDocumentEditorContainer container; - // Define settings with revision colors - private DocumentEditorSettingsModel settings = new DocumentEditorSettingsModel() + private DocumentEditorSettingsModel Settings = new DocumentEditorSettingsModel() { - RevisionSettings = new RevisionSettings() - { + RevisionSettings = new RevisionSettingsModel() + { RevisionColors = new string[] { "#0e76b1",