<Page
    x:Name="pageRoot"
    x:Class="TileSamples.GridViewSample"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:samples="using:TileSamples"
    xmlns:c1="using:C1.Xaml"
    xmlns:c1tile="using:C1.Xaml.Tile"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Page.Resources>
        <Style TargetType="c1tile:C1Tile">
            <Setter Property="Background" Value="#88bde6"/>
            <Setter Property="FontSize" Value="28"/>
            <Setter Property="HeaderFontSize" Value="14"/>
            <Setter Property="Height" Value="100"/>
            <Setter Property="Width" Value="150"/>
            <Setter Property="Margin" Value="2"/>
            <Setter Property="BorderThickness" Value="0"/>
        </Style>
    </Page.Resources>

    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <samples:MyGridView x:Name="gridView" AllowDrop="True" CanReorderItems="True" CanDragItems="True">
            <GridView.ItemTemplate>
                <DataTemplate>
                    <c1tile:C1Tile Content="{Binding Title}" Header="{Binding Header}"/>
                </DataTemplate>
            </GridView.ItemTemplate>
        </samples:MyGridView>
    </Grid>
</Page>
