<UserControl
    x:Class="was.droidtransfer.features.controls.WebViewPrintUserControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:was.droidtransfer.features.controls"
    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 Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <Border Style="{ThemeResource PageHeaderBorderStyle}">
            <Grid>
                <CommandBar Style="{ThemeResource PageHeaderCommandBarStyle}">
                    <AppBarButton x:Name="appBarButtonPrint" x:Uid="AppBarButtonPrint" Label="XX Print" Style="{ThemeResource AppBarButtonStyle}" Click="_appBarButtonPrint_Click">
                        <AppBarButton.Content>
                            <FontIcon Glyph="&#xE749;" Foreground="{ThemeResource AccentFillColorDefaultBrush}"/>
                        </AppBarButton.Content>
                    </AppBarButton>
                    <AppBarButton x:Name="appBarButtonCancel" x:Uid="AppBarButtonCancel" Label="XX Cancel" Style="{ThemeResource AppBarButtonStyle}" Click="_appBarButtonCancel_Click">
                        <AppBarButton.Content>
                            <FontIcon Glyph="&#xE711;" Foreground="{ThemeResource AccentFillColorDefaultBrush}"/>
                        </AppBarButton.Content>
                    </AppBarButton>
                </CommandBar>
                <TextBlock x:Uid="TextBlockPrintHeader" Style="{ThemeResource PageHeaderTitleStyle}"/>
            </Grid>
        </Border>
        <Grid Background="{ThemeResource TextBoxBackgroundThemeBrush}" Grid.Row="1" x:Name="gridPrint">
            <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Spacing="20">
                <ProgressRing IsIndeterminate="True" VerticalAlignment="Center" HorizontalAlignment="Center" />
                <TextBlock x:Uid="TextBlockPreparingToPrint" Text="Preparing to print..." FontSize="20" />
            </StackPanel>
        </Grid>
    </Grid>
</UserControl>
