# C1DatePicker ClearStyle Properties

## Content



**DateTimeEditors 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 controls.

The following table outlines the brush properties of the C1DatePicker control are available in the <span data-popup-content="This class is available in \u003ca href=\u0022/componentone/api/wpf/online-datetimeeditors/dotnet-api/C1.WPF.DateTimeEditors/C1.WPF.DateTimeEditors.C1DatePicker.html\u0022\u003e.NET\u003c/a\u003e and \u003ca href=\u0022/componentone/api/wpf/online-datetimeeditors/dotnet-api/C1.WPF.DateTimeEditors/C1.WPF.DateTimeEditors.C1DatePicker.html\u0022\u003e.NET Framework\u003c/a\u003e." data-popup-title="C1DatePicker" data-popup-theme="ui-tooltip-green qtip-green">C1DatePicker</span> class:

|   **Brush**   |   **Description**   |
| --- | --- |
|   Background   |   Gets or sets the brush of the control’s background.   |  |
|   ButtonBackground   |   Gets or sets the brush of the buttons’ background colors.   |  |
|   ButtonForeground   |   Gets or sets the brush of the buttons’ foreground colors.   |  |
|   MouseOverBrush   |   Gets or sets the System.Windows.Media.Brush used to highlight the buttons when the mouse is hovered over them.   |  |
|   PressedBrush   |   Gets or sets the System.Windows.Media.Brush used to highlight the buttons when they are clicked on.   |  |

You can completely change the appearance of the **C1DatePicker** control by setting a few properties, such as the **ButtonBackground** property, which sets the drop-down button’s background color. For example, if you set the **ButtonBackground** property to "#FFC500FF", the controls would appear similar to the following:

![](https://cdn.mescius.io/document-site-files/images/b827ed78-bea0-4378-af62-5f467cc00dcc/narrative/c1datepicker_clearstyle.png)