<?xml version="1.0" encoding="utf-8"?>
<UserControl
    x:Class="was.touchcopy.features.reminders.RemindersItemAttachmentDetailControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:was.touchcopy.features.reminders"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Border>
        <Grid Height="48" Width="48" CornerRadius="{ThemeResource OverlayCornerRadius}" Background="{ThemeResource CardStrokeColorDefaultBrush}" HorizontalAlignment="Left" Margin="0,6,0,0">
            <Grid.ContextFlyout>
                <MenuFlyout Opening="_menuFlyout_Opening">
                    <MenuFlyoutItem x:Name="menuFlyoutItemPreview" Text="Preview" Click="_preview_Click">
                        <MenuFlyoutItem.Icon>
                            <FontIcon Glyph="&#xE890;" />
                        </MenuFlyoutItem.Icon>
                    </MenuFlyoutItem>
                    <MenuFlyoutItem x:Name="menuFlyoutItemSaveToPC" Text="Save to PC" Click="_saveToPC_Click">
                        <MenuFlyoutItem.Icon>
                            <FontIcon Glyph="&#xE78C;" />
                        </MenuFlyoutItem.Icon>
                    </MenuFlyoutItem>
                </MenuFlyout>
            </Grid.ContextFlyout>
            <FontIcon x:Name="fontIcon" />
            <Image x:Name="image" Height="48" Width="48" Stretch="UniformToFill" VerticalAlignment="Center" HorizontalAlignment="Center" Tapped="_image_Tapped" />
        </Grid>
    </Border>
</UserControl>
