# Styling

RadListView provides an API that allows you to customize of appearance of its items.

The following RadListView properties can be used to add [Styles](https://docs.microsoft.com/en-us/windows/winui/api/microsoft.ui.xaml.style?view=winui-3.0), [DataTemplates](https://docs.microsoft.com/en-us/windows/winui/api/microsoft.ui.xaml.datatemplate?view=winui-3.0) and style/template [selectors](https://docs.microsoft.com/en-us/windows/winui/api/microsoft.ui.xaml.controls.datatemplateselector?view=winui-3.0), thus changing the default appearance:

* **ItemTemplate**
* **ItemTemplateSelector**
* **ItemStyle**
* **ItemStyleSelector**
* **GroupHeaderTemplate**
* **GroupHeaderTemplateSelector**
* **GroupHeaderStyle**
* **GroupHeaderStyleSelector**

## Example

The following example shows how to define a Style and a DataTemplate, and then assign them to the corresponding RadListView properties.

#### **Example 1: Setting up ItemTemplate and ItemStyle**

```XAML
<telerikData:RadListView x:Name="listView">
	<telerikData:RadListView.ItemStyle>
		<Style TargetType="telerikListView:RadListViewItem">
			<Setter Property="Margin" Value="0,5,0,5"/>
			<Setter Property="Padding" Value="0"/>
			<Setter Property="Background" Value="#EEEEEE"/>
		</Style>
	</telerikData:RadListView.ItemStyle>
	<telerikData:RadListView.ItemTemplate>
		<DataTemplate>
			<TextBlock Text="{Binding}" VerticalAlignment="Center" HorizontalAlignment="Center"/>
		</DataTemplate>
	</telerikData:RadListView.ItemTemplate>
</telerikData:RadListView>
```

#### **Example 2: Populating with data**

```C#
public MainWindow()
{
	this.InitializeComponent();
	
}
```

![WinUI ](https://www.telerik.com/winui/documentation/assets/258d86e069813e07d3774abcfe908962/radlistview-styling-0.png)
