<!-- Copyright (c) Microsoft Corporation and Contributors. -->
<!-- Licensed under the MIT License. -->

<UserControl
    x:Class="was.touchcopy.features.controls.BackupFileImageGridItem"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:was.touchcopy.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 x:Name="gridLoading">
            <TextBlock x:Uid="TextBlockThumbnailLoading" Text="XX Loading..." FontStyle="Italic" FontWeight="Medium" VerticalAlignment="Center" HorizontalAlignment="Center" Opacity=".5" />
        </Grid>
        <Grid x:Name="gridHEIC" Visibility="Collapsed">
            <StackPanel VerticalAlignment="Center">
                <TextBlock x:Uid="TextBlockThumbnailHeicTitle" Text="XX .heic Image" FontStyle="Italic" FontWeight="Medium" VerticalAlignment="Center" HorizontalAlignment="Center" TextWrapping="WrapWholeWords" />
                <TextBlock x:Uid="TextBlockThumbnailHeicDescription" Text="XX Loading Preview" FontSize="10px" HorizontalAlignment="Center" TextWrapping="WrapWholeWords"/>
            </StackPanel>
        </Grid>
        <Grid x:Name="gridError" Visibility="Collapsed">
            <StackPanel VerticalAlignment="Center">
                <TextBlock x:Uid="TextBlockThumbnailErrorTitle" Text="XX No Thumbnail" FontStyle="Italic" FontWeight="Medium" VerticalAlignment="Center" HorizontalAlignment="Center" TextWrapping="WrapWholeWords" />
                <TextBlock x:Uid="TextBlockThumbnailErrorDescription" Text="XX Open in Preview to view" FontSize="10px" HorizontalAlignment="Center" TextWrapping="WrapWholeWords"/>
            </StackPanel>
        </Grid>
        <Image x:Name="image" />
        <Border x:Name="borderIcons" Visibility="Collapsed" HorizontalAlignment="Right" VerticalAlignment="Bottom" CornerRadius="4,0,0,0" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" BorderThickness="0" Padding="2">
            <FontIcon x:Name="fontIconVideo" Visibility="Collapsed" Glyph="&#xE714;">
                <FontIcon.RenderTransform>
                    <ScaleTransform ScaleX="0.75" ScaleY="0.75" CenterX="6" CenterY="6" />
                </FontIcon.RenderTransform>
            </FontIcon>
        </Border>
    </Grid>
</UserControl>
