# C1RichTextBox ClearStyle Properties

## Content



**RichTextBox for** WPF supports ComponentOne's new **ClearStyle** technology that allows you to easily change control colors without having to change control templates. By just setting a few color properties you can quickly style the control.

The following table outlines the brush properties of the [C1RichTextBox](/componentone/api/wpf/online-richtextbox/dotnet-api/C1.WPF.RichTextBox/C1.WPF.RichTextBox.C1RichTextBox.html) control:

|   **Brush**   |   **Description**   |
| --- | --- |
|   Background   |   Gets or sets the brush of the control’s background.   |
|   BorderBrush   |   Gets or sets the brush of the control’s border.   |
|   SelectionBackground   |   Gets or sets the brush used to fill the background of the selected text.   |
|   SelectionForeground   |   Gets or sets the brush used to fill the foreground of the selected text.   |

You can completely change the appearance of the **C1RichTextBox** control by setting one or more properties, For example, if you set the **Background** property to "# FFE20C0C ", the **C1RichTextBox** control would appear similar to the following:

![](https://cdn.mescius.io/document-site-files/images/f14c4281-7088-4b33-9b40-4a5f7acf258d/graphics/themes/background.png)