From d7e99c94dd19b82c2b990142ba520378bd30cf5b Mon Sep 17 00:00:00 2001
From: Kalaivannan-Ganesan
<93248069+Kalaivannan-Ganesan@users.noreply.github.com>
Date: Wed, 22 Jul 2026 14:48:01 +0530
Subject: [PATCH 1/6] Addressed the error logs of Background
---
.../Word/Word-Processor/wpf/Background.md | 37 +++++++++----------
1 file changed, 18 insertions(+), 19 deletions(-)
diff --git a/Document-Processing/Word/Word-Processor/wpf/Background.md b/Document-Processing/Word/Word-Processor/wpf/Background.md
index 98ae886ea5..2e94f544f4 100644
--- a/Document-Processing/Word/Word-Processor/wpf/Background.md
+++ b/Document-Processing/Word/Word-Processor/wpf/Background.md
@@ -1,6 +1,6 @@
---
title: Background in WPF RichTextBox control | Syncfusion
-description: Learn here all about Background support in Syncfusion WPF RichTextBox (SfRichTextBoxAdv) control and more.
+description: Learn about the Background support in Syncfusion WPF RichTextBox (SfRichTextBoxAdv) control and more.
platform: document-processing
control: SfRichTextBoxAdv
documentation: ug
@@ -8,7 +8,7 @@ keywords: background
---
# Setting Background for WPF RichTextBox
-The [WPF RichTextBox](https://www.syncfusion.com/docx-editor-sdk/wpf-docx-editor) control allows you to change background color of the control. A background of a control is represented by `Background` property of `SfRichTextBoxAdv` class. The default value of this property is black.
+The [WPF RichTextBox](https://www.syncfusion.com/docx-editor-sdk/wpf-docx-editor) control allows you to change background color of the control. A background of a control is represented by [`Background`](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.Controls.RichTextBoxAdv.SfRichTextBoxAdv.html#Syncfusion_Windows_Controls_RichTextBoxAdv_SfRichTextBoxAdv_Background) property of `SfRichTextBoxAdv` class. The default value of this property is black.
The following code illustrates how to apply color as background to the document.
@@ -31,25 +31,25 @@ richTextBoxAdv.Background = new SolidColorBrush(Color.FromRgb(102, 153, 204));
Dim richTextBoxAdv As New SfRichTextBoxAdv()
' Sets the control background color.
-richTextBoxAdv.Background = new SolidColorBrush(Color.FromRgb(102, 153, 204))
+richTextBoxAdv.Background = New SolidColorBrush(Color.FromRgb(102, 153, 204))
{% endhighlight %}
{% endtabs %}
-Pages layout
+**Pages layout:**

-Continuous layout
+**Continuous layout:**

-Block layout
+**Block layout:**
The block layout always inherits the control background color.

-### How to override the document background in continuous layout type?
-By default, the document background properties will be applied when the `LayoutType` is continuous. You can suppress the document background and apply the control background by setting `OverridesDocumentBackground` property to true. The default value of this property is false.
+## How to override the document background in continuous layout type?
+By default, the document background properties will be applied when the `LayoutType` is continuous. You can suppress the document background and apply the control background by setting [`OverridesDocumentBackground`](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.Controls.RichTextBoxAdv.SfRichTextBoxAdv.html#Syncfusion_Windows_Controls_RichTextBoxAdv_SfRichTextBoxAdv_OverridesDocumentBackground) property to true. The default value of this property is false.
N> This property is valid only when the `LayoutType` is continuous.
@@ -66,7 +66,7 @@ The following code illustrates how to override the document background color.
SfRichTextBoxAdv richTextBoxAdv = new SfRichTextBoxAdv();
// Sets the control background color
richTextBoxAdv.Background = new SolidColorBrush(Color.FromRgb(102, 153, 204));
-// Sets the layout type as continous
+// Sets the layout type as continuous
richTextBoxAdv.LayoutType = LayoutType.Continuous;
//Enable the OverridesDocumentBackground property
richTextBoxAdv.OverridesDocumentBackground = true;
@@ -77,8 +77,8 @@ richTextBoxAdv.OverridesDocumentBackground = true;
' Initializes a new instance of RichTextBoxAdv.
Dim richTextBoxAdv As New SfRichTextBoxAdv()
' Sets the control background color.
-richTextBoxAdv.Background = new SolidColorBrush(Color.FromRgb(102, 153, 204))
-' Sets the layout type as continous
+richTextBoxAdv.Background = New SolidColorBrush(Color.FromRgb(102, 153, 204))
+' Sets the layout type as continuous
richTextBoxAdv.LayoutType = LayoutType.Continuous
' Enable the OverridesDocumentBackground property
richTextBoxAdv.OverridesDocumentBackground = true
@@ -88,15 +88,16 @@ richTextBoxAdv.OverridesDocumentBackground = true
{% endtabs %}
-Continuous layout:
+**Continuous layout:**

## Setting Background for Document Pages
The RichTextBox control allows you to change background color of the document pages. A background of a document is represented by `Background` property of `DocumentAdv` class. The default value of this property is white.
-N> 1. This property is independent for a document. So the background will change when the document is changed.
-N> 2. To maintain same background for all documents, you can reset this property in DocumentChanged event.
+N> 1. This API is supported starting from release version v17.4.0.39.
+N> 2. This property is independent for a document. So the background will change when the document is changed.
+N> 3. To maintain same background for all documents, you can reset this property in DocumentChanged event.
The following code illustrates how to apply color as background to the document pages.
@@ -121,12 +122,10 @@ richTextBoxAdv.Document.Background.Color = Color.FromRgb(102, 153, 204)
{% endtabs %}
-
-Pages layout:
+**Pages layout:**

-Continuous layout:
+**Continuous layout:**

-N> This API is supported starting from release version v17.4.0.X.
-You can also explore our [WPF RichTextBox example](https://github.com/syncfusion/docx-editor-sdk-wpf-demos) to knows how to render and configure the editing tools.
+N> You can also explore our [WPF RichTextBox example](https://github.com/syncfusion/docx-editor-sdk-wpf-demos) to know how to render and configure the editing tools.
From 793d69e874a721b4a7eb7683f305664274719683 Mon Sep 17 00:00:00 2001
From: Kalaivannan-Ganesan
<93248069+Kalaivannan-Ganesan@users.noreply.github.com>
Date: Wed, 22 Jul 2026 15:25:06 +0530
Subject: [PATCH 2/6] Added the missed API names
---
Document-Processing/Word/Word-Processor/wpf/Background.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Document-Processing/Word/Word-Processor/wpf/Background.md b/Document-Processing/Word/Word-Processor/wpf/Background.md
index 2e94f544f4..0eee97ff7c 100644
--- a/Document-Processing/Word/Word-Processor/wpf/Background.md
+++ b/Document-Processing/Word/Word-Processor/wpf/Background.md
@@ -93,7 +93,7 @@ richTextBoxAdv.OverridesDocumentBackground = true
## Setting Background for Document Pages
-The RichTextBox control allows you to change background color of the document pages. A background of a document is represented by `Background` property of `DocumentAdv` class. The default value of this property is white.
+The RichTextBox control allows you to change background color of the document pages. A background of a document is represented by [`Background`](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.Controls.RichTextBoxAdv.DocumentAdv.html#Syncfusion_Windows_Controls_RichTextBoxAdv_DocumentAdv_Background) property of `DocumentAdv` class. The default value of this property is white.
N> 1. This API is supported starting from release version v17.4.0.39.
N> 2. This property is independent for a document. So the background will change when the document is changed.
From faa9c9920ceb959a5247efb9af12b9418b6a5061 Mon Sep 17 00:00:00 2001
From: Kalaivannan-Ganesan
<93248069+Kalaivannan-Ganesan@users.noreply.github.com>
Date: Wed, 22 Jul 2026 16:10:57 +0530
Subject: [PATCH 3/6] Addressed the clipboard error logs
---
.../Word/Word-Processor/wpf/Clipboard.md | 29 ++++++++++++-------
1 file changed, 19 insertions(+), 10 deletions(-)
diff --git a/Document-Processing/Word/Word-Processor/wpf/Clipboard.md b/Document-Processing/Word/Word-Processor/wpf/Clipboard.md
index 412188a68f..08cf01879c 100644
--- a/Document-Processing/Word/Word-Processor/wpf/Clipboard.md
+++ b/Document-Processing/Word/Word-Processor/wpf/Clipboard.md
@@ -1,6 +1,6 @@
---
title: Clipboard in WPF RichTextBox control | Syncfusion
-description: Learn here all about Clipboard support in Syncfusion WPF RichTextBox (SfRichTextBoxAdv) control and more.
+description: Learn about the Clipboard support in Syncfusion WPF RichTextBox (SfRichTextBoxAdv) control and more.
platform: document-processing
control: SfRichTextBoxAdv
documentation: ug
@@ -16,22 +16,31 @@ The [WPF RichTextBox](https://www.syncfusion.com/docx-editor-sdk/wpf-docx-editor
* Image.
-## UI Command to access clipboard operations
+## UI Commands to Access Clipboard Operations
The following code example demonstrates how to bind commands for accessing clipboard operations.
{% tabs %}
{% highlight xaml %}
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
{% endhighlight %}
{% endtabs %}
-N> In order to cut, copy or paste, the standard keyboard shortcuts such as CTRL + X, CTRL + C, CTRL + V can also be used.
-You can refer to our [WPF RichTextBox](https://www.syncfusion.com/docx-editor-sdk/wpf-docx-editor) feature tour page for its groundbreaking feature representations.You can also explore our [WPF RichTextBox example](https://github.com/syncfusion/docx-editor-sdk-wpf-demos) to knows how to render and configure the editing tools.
+
+N> In order to cut, copy, or paste, the standard keyboard shortcuts such as CTRL+X, CTRL+C, and CTRL+V can also be used.
+
+## See Also
+
+- [WPF RichTextBox Feature Tour](https://www.syncfusion.com/docx-editor-sdk/wpf-docx-editor)
+- [WPF RichTextBox Examples](https://github.com/syncfusion/docx-editor-sdk-wpf-demos)
From 4818036ca476863dc23c798d9411d061fb445f03 Mon Sep 17 00:00:00 2001
From: Kalaivannan-Ganesan
<93248069+Kalaivannan-Ganesan@users.noreply.github.com>
Date: Wed, 22 Jul 2026 16:39:22 +0530
Subject: [PATCH 4/6] Addressed the comments
---
.../Word/Word-Processor/wpf/Clipboard.md | 16 ++++++----------
.../Word/Word-Processor/wpf/Comment.md | 13 +++++++++----
2 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/Document-Processing/Word/Word-Processor/wpf/Clipboard.md b/Document-Processing/Word/Word-Processor/wpf/Clipboard.md
index 08cf01879c..51af16ab0d 100644
--- a/Document-Processing/Word/Word-Processor/wpf/Clipboard.md
+++ b/Document-Processing/Word/Word-Processor/wpf/Clipboard.md
@@ -22,16 +22,12 @@ The [WPF RichTextBox](https://www.syncfusion.com/docx-editor-sdk/wpf-docx-editor
The following code example demonstrates how to bind commands for accessing clipboard operations.
{% tabs %}
{% highlight xaml %}
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
{% endhighlight %}
diff --git a/Document-Processing/Word/Word-Processor/wpf/Comment.md b/Document-Processing/Word/Word-Processor/wpf/Comment.md
index 1a5365a5c6..018811af87 100644
--- a/Document-Processing/Word/Word-Processor/wpf/Comment.md
+++ b/Document-Processing/Word/Word-Processor/wpf/Comment.md
@@ -1,6 +1,6 @@
---
title: Comment in WPF RichTextBox control | Syncfusion
-description: Learn here all about Comment support in Syncfusion WPF RichTextBox (SfRichTextBoxAdv) control and more.
+description: Learn about the Comment support in Syncfusion WPF RichTextBox (SfRichTextBoxAdv) control and more.
platform: document-processing
control: SfRichTextBoxAdv
documentation: ug
@@ -13,7 +13,7 @@ A Comment is a note or annotation that an author or reviewer can add to the docu
N> Currently, the SfRichTextBoxAdv shows review pane only with Pages layout type.
-## UI Commands for accessing comment
+## UI Commands to Access Comments
The following operations can be performed through command binding in SfRichTextBoxAdv control:
@@ -51,8 +51,10 @@ The following code example demonstrates how to bind commands for accessing comme
## Customizing comment visual style
-The SfRichTextBoxAdv provides event support to notify whenever a comment is added to the document. With the help of it, you can customize the visual style for the comment. You can also set the author and initial of the comment.
+The SfRichTextBoxAdv provides event support to notify whenever a comment is added to the document. With the help of it, you can customize the visual style for the comment using the [`CommentVisualStyle`](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.Controls.RichTextBoxAdv.CommentVisualStyle.html) class. You can also set the author and initial of the comment.
+
The following code example demonstrates how to customize comment visual style using event.
+
{% tabs %}
{% highlight c# %}
// Hooks the CommentAdding event of RichTextBoxAdv.
@@ -135,4 +137,7 @@ Dim isCommentPaneVisible As Boolean = richTextBoxAdv.EditorSettings.IsCommentPan
{% endhighlight %}
{% endtabs %}
-N> You can refer to our [WPF RichTextBox](https://www.syncfusion.com/docx-editor-sdk/wpf-docx-editor) feature tour page for its groundbreaking feature representations.You can also explore our [WPF RichTextBox example](https://github.com/syncfusion/docx-editor-sdk-wpf-demos) to knows how to render and configure the editing tools.
\ No newline at end of file
+## See Also
+
+- [WPF RichTextBox Feature Tour](https://www.syncfusion.com/docx-editor-sdk/wpf-docx-editor)
+- [WPF RichTextBox Examples](https://github.com/syncfusion/docx-editor-sdk-wpf-demos)
\ No newline at end of file
From d6aa66975a478fcc62b7c459a690a924521aac11 Mon Sep 17 00:00:00 2001
From: Kalaivannan-Ganesan
<93248069+Kalaivannan-Ganesan@users.noreply.github.com>
Date: Wed, 22 Jul 2026 17:13:22 +0530
Subject: [PATCH 5/6] Resolved the commands errors
---
.../Word/Word-Processor/wpf/Commands.md | 101 +++++++++---------
.../Word/Word-Processor/wpf/Comment.md | 2 +-
2 files changed, 53 insertions(+), 50 deletions(-)
diff --git a/Document-Processing/Word/Word-Processor/wpf/Commands.md b/Document-Processing/Word/Word-Processor/wpf/Commands.md
index a1382533c1..56a9b9d776 100644
--- a/Document-Processing/Word/Word-Processor/wpf/Commands.md
+++ b/Document-Processing/Word/Word-Processor/wpf/Commands.md
@@ -1,6 +1,6 @@
---
title: Commands in WPF RichTextBox control | Syncfusion
-description: Learn here all about Commands support in Syncfusion WPF RichTextBox (SfRichTextBoxAdv) control and more.
+description: Learn about the Commands support in Syncfusion WPF RichTextBox (SfRichTextBoxAdv) control and more.
platform: document-processing
control: SfRichTextBoxAdv
documentation: ug
@@ -30,7 +30,7 @@ Commands are a way to handle user interface (UI) actions. They are a loosely cou
* Document Styles – Create, modify, apply and clear style.
-## UI Command to access character formatting
+## UI Command to Access Character Formatting
The following code example demonstrates how to bind commands for applying character format.
@@ -49,7 +49,7 @@ The following code example demonstrates how to bind commands for applying charac
The following code example demonstrates how to bind commands with parameter.
{% tabs %}
{% highlight xaml %}
-
+
{% endhighlight %}
{% endtabs %}
@@ -83,6 +83,17 @@ The following table contains the list of available UI Commands in SfRichTextBoxA
+
ApplyStyleCommand
+
+
+
Represents the command, which requests to apply style for the selected paragraph.
+
+
+
Name of the Style
+
+
+
+
AfterSpacingCommand
@@ -105,6 +116,17 @@ The following table contains the list of available UI Commands in SfRichTextBoxA
+
ClearFormattingCommand
+
+
+
Represents the command, which requests to remove formatting from the selected paragraph.
+
+
+
NA
+
+
+
+
BackSpaceKeyCommand
@@ -658,7 +680,7 @@ The following table contains the list of available UI Commands in SfRichTextBoxA
IgnoreAllSpellingErrorsCommand
-
Represents the command that ignores all the occurrence of a selected misspelled word.
+
Represents the command that ignores all the occurrences of a selected misspelled word.
The misspelled word to be ignored.
@@ -1291,6 +1313,28 @@ The following table contains the list of available UI Commands in SfRichTextBoxA
+
ShowStyleDialogCommand
+
+
+
Represents the command that shows the create style dialog.
+
+
+
NA
+
+
+
+
+
ShowStylesDialogCommand
+
+
+
Represents the command that shows the modify style dialog.
+
+
+
NA
+
+
+
+
ShowTableDialogCommand
@@ -1454,51 +1498,10 @@ The {{'[TextAlignment](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.Con
NA
-
-
-
ShowStyleDialogCommand
-
-
-
Represents the command that shows the create style dialog.
-
-
-
NA
-
-
-
-
-
ShowStylesDialogCommand
-
-
-
Represents the command that shows the modify style dialog.
-
-
-
NA
-
-
-
-
-
ApplyStyleCommand
-
-
-
Represents the command, which requests to apply style for the selected paragraph.
-
-
-
Name of the Style
-
-
-
-
-
ClearFormattingCommand
-
-
-
Represents the command, which requests to remove formatting from the selected paragraph.
-
-
-
NA
-
-
-N> You can refer to our [WPF RichTextBox](https://www.syncfusion.com/docx-editor-sdk/wpf-docx-editor) feature tour page for its groundbreaking feature representations.You can also explore our [WPF RichTextBox example](https://github.com/syncfusion/docx-editor-sdk-wpf-demos) to knows how to render and configure the editing tools.
\ No newline at end of file
+## See Also
+
+- [WPF RichTextBox Feature Tour](https://www.syncfusion.com/docx-editor-sdk/wpf-docx-editor)
+- [WPF RichTextBox Examples](https://github.com/syncfusion/docx-editor-sdk-wpf-demos)
\ No newline at end of file
diff --git a/Document-Processing/Word/Word-Processor/wpf/Comment.md b/Document-Processing/Word/Word-Processor/wpf/Comment.md
index 018811af87..a0aa046bb6 100644
--- a/Document-Processing/Word/Word-Processor/wpf/Comment.md
+++ b/Document-Processing/Word/Word-Processor/wpf/Comment.md
@@ -1,6 +1,6 @@
---
title: Comment in WPF RichTextBox control | Syncfusion
-description: Learn about the Comment support in Syncfusion WPF RichTextBox (SfRichTextBoxAdv) control and more.
+description: Learn about the Comment support in the Syncfusion WPF RichTextBox (SfRichTextBoxAdv) control and how to work with Comments in Word documents.
platform: document-processing
control: SfRichTextBoxAdv
documentation: ug
From 562391cfcd0203aac8c025f1dbc932d3b6020afc Mon Sep 17 00:00:00 2001
From: Kalaivannan-Ganesan
<93248069+Kalaivannan-Ganesan@users.noreply.github.com>
Date: Wed, 22 Jul 2026 17:40:07 +0530
Subject: [PATCH 6/6] Addressed dialogs errors
---
.../Word/Word-Processor/wpf/Commands.md | 2 +-
.../Word/Word-Processor/wpf/Dialogs.md | 21 ++++++++++++-------
2 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/Document-Processing/Word/Word-Processor/wpf/Commands.md b/Document-Processing/Word/Word-Processor/wpf/Commands.md
index 56a9b9d776..60bef0a78b 100644
--- a/Document-Processing/Word/Word-Processor/wpf/Commands.md
+++ b/Document-Processing/Word/Word-Processor/wpf/Commands.md
@@ -1,6 +1,6 @@
---
title: Commands in WPF RichTextBox control | Syncfusion
-description: Learn about the Commands support in Syncfusion WPF RichTextBox (SfRichTextBoxAdv) control and more.
+description: Learn about the Commands support in the Syncfusion WPF RichTextBox (SfRichTextBoxAdv) control and how Commands can be used within the editor.
platform: document-processing
control: SfRichTextBoxAdv
documentation: ug
diff --git a/Document-Processing/Word/Word-Processor/wpf/Dialogs.md b/Document-Processing/Word/Word-Processor/wpf/Dialogs.md
index b202877b27..65cc813b8a 100644
--- a/Document-Processing/Word/Word-Processor/wpf/Dialogs.md
+++ b/Document-Processing/Word/Word-Processor/wpf/Dialogs.md
@@ -1,6 +1,6 @@
---
title: Dialogs in WPF RichTextBox control | Syncfusion
-description: Learn here all about Dialogs support in Syncfusion WPF RichTextBox (SfRichTextBoxAdv) control and more.
+description: Learn about the Dialogs support in Syncfusion WPF RichTextBox (SfRichTextBoxAdv) control and more.
platform: document-processing
control: SfRichTextBoxAdv
documentation: ug
@@ -34,7 +34,7 @@ The [WPF RichTextBox](https://www.syncfusion.com/docx-editor-sdk/wpf-docx-editor
* Styles Dialog
-## UI Commands for accessing dialogs
+## UI Commands to Access Dialogs
The following code example demonstrates how to show the built-in dialogs in SfRichTextBoxAdv through command binding.
{% tabs %}
@@ -62,9 +62,9 @@ The following code example demonstrates how to show the built-in dialogs in SfRi
-
+
-
+
{% endhighlight %}
{% endtabs %}
@@ -151,7 +151,7 @@ Public Partial Class FontWindow
Public Sub New(rte As SfRichTextBoxAdv)
InitializeComponent()
fontDialog.DataContext = rte
- AddHandler this.Loaded, AddressOf FontWindow_Loaded
+ AddHandler Me.Loaded, AddressOf FontWindow_Loaded
End Sub
'''
''' Called when the font window is loaded.
@@ -167,7 +167,7 @@ Private Sub FontWindow_Loaded(sender As Object, e As RoutedEventArgs)
End If
Dim applybutton As Button = TryCast(font.Template.FindName("PART_ApplyFontFormatButton", TryCast(font, FrameworkElement)), Button)
If applybutton IsNot Nothing Then
- Addhandler applybutton.Click, AddressOf Applybutton_Click
+ AddHandler applybutton.Click, AddressOf Applybutton_Click
End If
End Sub
@@ -262,7 +262,7 @@ Public Partial Class MainWindow
Public Sub New()
InitializeComponent()
fontWindow = New FontWindow(richTextBoxAdv)
- AddHandler this.Unloaded, AddressOf MainWindow_Unloaded
+ AddHandler Me.Unloaded, AddressOf MainWindow_Unloaded
End Sub
Private Sub MainWindow_Unloaded(sender As Object, e As RoutedEventArgs)
fontWindow.Close()
@@ -279,4 +279,9 @@ End Class
{% endhighlight %}
{% endtabs %}
-N> You can refer to our [WPF RichTextBox](https://www.syncfusion.com/docx-editor-sdk/wpf-docx-editor) feature tour page for its groundbreaking feature representations.You can also explore our [WPF RichTextBox example](https://github.com/syncfusion/docx-editor-sdk-wpf-demos) to knows how to render and configure the editing tools.
\ No newline at end of file
+N> The same pattern can be followed to create custom windows for other dialogs such as Paragraph, List, Insert Table, Hyperlink, Find and Replace, Password, Table Properties, Table Options, Cell Options, Borders and Shading, and Styles. Replace the `FontDialog` control with the corresponding dialog control (e.g., `ParagraphDialog`, `ListDialog`, etc.).
+
+## See Also
+
+- [WPF RichTextBox Feature Tour](https://www.syncfusion.com/docx-editor-sdk/wpf-docx-editor)
+- [WPF RichTextBox Examples](https://github.com/syncfusion/docx-editor-sdk-wpf-demos)
\ No newline at end of file