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

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <TextBlock
            Grid.Row="0"
            VerticalAlignment="Center"
            HorizontalAlignment="Left"
            Text="Your app version is no longer supported. Please update to the newest version."/>
        <Grid
            Grid.Row="1">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="0.8*"/>
                <ColumnDefinition Width="0.2*"/>
            </Grid.ColumnDefinitions>
            <StackPanel Grid.Column="0" Orientation="Horizontal">
                <TextBlock Text="Download latest version" VerticalAlignment="Center" />
                <Button
                    x:Name="DownloadBtn"
                    Width="140" Height="40"
                    Background="{ThemeResource SystemAccentColor}" CornerRadius="20"
                    Margin="10 0 0 0"
                    Click="DownloadBtn_Click">
                    <StackPanel Orientation="Horizontal" Margin="10 0 0 0">
                        <TextBlock Text="Download"/>
                        <SymbolIcon Symbol="Download" Margin="10 0 0 0" />
                    </StackPanel>
                </Button>
            </StackPanel>
            <Button
                x:Name="CloseBtn"
                Grid.Column="1"
                Width="100" Height="40"
                CornerRadius="20"
                HorizontalAlignment="Center"
                Content="Close"
                Click="CloseBtn_Click"/>
        </Grid>
    </Grid>
</ContentDialog>
