<Page
    x:Class="OfflineMaps.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:OfflineMaps"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <Grid.Resources>
            <Style TargetType="TextBlock" x:Key="title">
                <Setter Property="TextWrapping" Value="NoWrap"/>
                <Setter Property="VerticalAlignment" Value="Bottom"/>
                <Setter Property="Margin" Value="200, 50, 0, 0"/>
                <Setter Property="FontSize" Value="32"/>
            </Style>
            <Style TargetType="TextBlock" x:Key="content">
                <Setter Property="TextWrapping" Value="NoWrap"/>
                <Setter Property="VerticalAlignment" Value="Bottom" />
                <Setter Property="Margin" Value="200, 20, 0, 0"/>
                <Setter Property="FontSize" Value="20"/>
            </Style>
        </Grid.Resources>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition />
        </Grid.RowDefinitions>
        <TextBlock x:Name="pageTitle" Text="C1Maps Offline Sample" Style="{StaticResource title}"/>
        <TextBlock x:Name="pageContent" Text="Shows how to implement offline maps" Grid.Row="1" Style="{StaticResource content}"></TextBlock>
        <local:OfflineMaps Grid.Row="2" Margin="200 100 200 200"></local:OfflineMaps>
    </Grid>
</Page>
