# Customizing Groups

A RadCardView group can be customized in order to match the expected design or functionality.

> tip Read the [Grouping](https://www.telerik.com/products/wpf/documentation/controls/radcardview/features/grouping) article to see how to setup the grouping.

## Group Panel

To change the **visibility** of the [group panel](https://www.telerik.com/products/wpf/documentation/controls/radcardview/visual-structure)'s text and items, set the **ShowGroupPanel** property of RadCardView.

**Example 1: Hiding group panel**

```XAML
<telerik:RadCardView ShowGroupPanel="False"/>
```

> caption Hidden group panel

![WPF RadCardView Hidden group panel](https://www.telerik.com/products/wpf/documentation/assets/3faf3a4c13a1512b807f8b92c82a9063/radcardview-appearance-customizing-groups-0.png)

To change the **background color** of the group panel, set the **GroupPanelBackground** property of RadCardView.

To change the **text color** of the group panel, set the **GroupPanelForeground** property of RadCardView.

To **disable the sorting** of groups with the [group member button](https://www.telerik.com/products/wpf/documentation/controls/radcardview/visual-structure), set the **CanUserSortGroups** property of RadCardView.

**Example 2: Customizing group panel colors**

```XAML
<telerik:RadCardView GroupPanelBackground="#CA5100"
						 GroupPanelForeground="White"
                         CanUserSortGroups="False"/>
```

> caption Changed group panel background

![WPF RadCardView Changed group panel background](https://www.telerik.com/products/wpf/documentation/assets/6297c4bc10cbc6d546c6b4fdb75b77a0/radcardview-appearance-customizing-groups-1.png)

Additionally, the element that represents the group panel can be customized using the **GroupPanelStyle** property.

**Example 3: Customizing group panel style**

```XAML
<telerik:RadCardView.GroupPanelStyle>
    <Style TargetType="cardView:CardViewGroupPanel">
        <Setter Property="Height" Value="50" />
        <Setter Property="Opacity" Value="0.5" />
    </Style>
</telerik:RadCardView.GroupPanelStyle>
```

The "cardView:" namespace points to `xmlns:cardView="clr-namespace:Telerik.Windows.Controls.Data.CardView;assembly=Telerik.Windows.Controls.Data"`

> caption Customized group panel style

![WPF RadCardView Customized group panel style](https://www.telerik.com/products/wpf/documentation/assets/abfc59a5ea5e2a9e51ae526e6ed9b060/radcardview-appearance-customizing-groups-2.png)

To customize the [group member button](https://www.telerik.com/products/wpf/documentation/controls/radcardview/visual-structure) elements in the group panel, set the **GroupPanelItemStyle** property.

**Example 4: Customizing group panel items**

```XAML
<telerik:RadCardView.GroupPanelItemStyle>
    <Style TargetType="cardView:CardViewGroupPanelItem">
        <Setter Property="Height" Value="50" />
    </Style>
</telerik:RadCardView.GroupPanelItemStyle>
```

> caption Customized group panel items

![WPF RadCardView Customized group panel items](https://www.telerik.com/products/wpf/documentation/assets/008b3e931f393ac45b91725f645415d7/radcardview-appearance-customizing-groups-3.png)

## Group Item Indentation

To set the group items horizontal offset (indentation), set the **GroupItemIndentation** property.

**Example 5: Changing group items indentation**

```XAML
<telerik:RadCardView GroupItemIndentation="25" />
```

> caption Customized group panel items

![WPF RadCardView Customized group panel items](https://www.telerik.com/products/wpf/documentation/assets/f80eb066391909bcb7b47d3c20f2f19c/radcardview-appearance-customizing-groups-4.png)

## See Also

* [Data Binding](https://www.telerik.com/products/wpf/documentation/controls/radcardview/populating-with-data/data-binding)
* [Customizing Cards](https://www.telerik.com/products/wpf/documentation/controls/radcardview/appearance/customizing-cards)
* [Customizing Filtering Control](https://www.telerik.com/products/wpf/documentation/controls/radcardview/appearance/customizing-filtering-control)
