# Styling Column Groups

In order to style **Columng Groups** you will need to create two styles targeting the **CommonHeaderPresenter** and **CommonColumnHeader** elements. The **CommonHeaderPresenter** hosts all common column headers and the **CommonColumnHeader** is responsible for a single common column header.

**Example 1: Styling the CommonHeaderPresenter and CommonColumnHeader**

```XAML
<UserControl.Resources>
	

	
	<Style TargetType="telerik:CommonHeaderPresenter">
	    <Setter Property="Background" Value="Red"/>
	</Style>

	
	<Style TargetType="telerik:CommonColumnHeader">
	    <Setter Property="Background" Value="Red"/>
	</Style>
</UserControl.Resources>
```

This will result in a red background for the merged header cells.

> caption The styled column groups

![Telerik UI for WPF RadGridView with styled merged column headers and column groups](https://www.telerik.com/products/wpf/documentation/assets/7c4565debb1a8cf6beb1a52ad4eb87bf/gridview-styling-column-groups.png)

> important As of version Q2 2015, the **GridViewColumnGroupRow** visual element was introduced. You need to also merge its XAML if using a Custom Theme.

## See Also

* [Editing Control Templates](https://www.telerik.com/products/wpf/documentation/styling-and-appearance/styling-apperance-editing-control-templates)
* [Column Groups](https://www.telerik.com/products/wpf/documentation/controls/radgridview/columns/column-groups).
