<UserControl
    x:Class="was.touchcopy.features.CopyProgressAppBarUserController"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid Margin="0,10,60,0" VerticalAlignment="Center" HorizontalAlignment="Stretch" >
        <Grid.RowDefinitions>
            <RowDefinition Height="0.5*"/>
            <RowDefinition Height="0.5*"/>
        </Grid.RowDefinitions>
        <Grid Grid.Row="0" HorizontalAlignment="Stretch"  MinWidth="200">
            <TextBlock x:Name="textBlockProgress"  FontWeight="Bold" Text="{Binding ProgressString}" Style="{ThemeResource CaptionTextBlockStyle}" Margin="0,0,25,1" VerticalAlignment="Center" TextTrimming="WordEllipsis" MaxLines="1" />
            <TextBlock x:Name="textBlockCopyCancelled" x:Uid="TextBlockCopyCancelled" FontWeight="Bold" Text="XX Copy Cancelled" Visibility="Collapsed" Margin="0,0,0,8" Style="{ThemeResource CaptionTextBlockStyle}"/>

            <SymbolIcon x:Name="symbolCancel" Symbol="Cancel" Tapped="SymbolCancel_Tapped" 
                    HorizontalAlignment="Right" VerticalAlignment="Center" />
        </Grid>
        <ProgressBar Grid.Row="1" x:Name="progressBar" HorizontalAlignment="Stretch" Margin="0,5,0,0"/>
    </Grid>
</UserControl>
