# Appearance and Styling

## Content



You can style the ListView control. For example, you can set the foreground color of the ListView using the **Foreground** property, the background color using the **Background** property and the background of the selected item using the **SelectedBackground** property.

![styled Listview control](https://cdn.mescius.io/document-site-files/images/2c07b747-52eb-450f-92db-4ecd61caca08/images/listview-styled.png)

Use the code snippet below to set these properties in the XAML:

```xml
<c1:C1ListView x:Name="listView" Background="brown" Foreground="white"  SelectedBackground= "Aqua"  ItemWidth="240" ItemHeight="192" ViewportGap="0" ViewportPreviewGap="0" >
</c1:C1ListView>
```