# Binding to a Collection of Items

## Content



You can show more than just two alternating items in a [C1SlideTile](/componentone/api/wpf/online-tiles/dotnet-framework-api/C1.WPF.Tile.4.6.2/C1.WPF.Tile.C1SlideTile.html) control. By using the **ContentSource** property you can provide a collection of any number of items that the control will flip through. Define the **ContentTemplate** (and optionally the **AlternateContentTemplate**) to define the appearance of the bound content.

```xml
<c1:C1SlideTile Header="Photos" ContentSource="{Binding Items}">
    <c1:C1SlideTile.ContentTemplate>
        <DataTemplate>
            <Grid>
                <TextBlock Text="{Binding Author}" Foreground="White" VerticalAlignment="Top" Margin="4,2,0,2"/>
                <Image Source="{Binding Thumbnail}" Stretch="UniformToFill" Margin="24, 24, 1, 1"/>
            </Grid>
        </DataTemplate>
    </c1:C1SlideTile.ContentTemplate>
</c1:C1SlideTile>
```

## See Also

[Using Tiles in a Bound Control](/componentone/docs/wpf/online-tiles/C1Tiles/UsingTilesBoundControl)