262c89d61f293f7862bbe82e5cb84b074d98b149
[master-thesis.git] / Parasitemia / Parasitemia / GUI / ImageSourcePreview.xaml
1 <UserControl
2                 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4                 xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
5       xmlns:fsxaml="clr-namespace:FsXaml;assembly=FsXaml.Wpf"
6       xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
7       mc:Ignorable="d" d:DesignWidth="119.223" d:DesignHeight="84.911"
8                 >
9    <Border x:Name="border" ClipToBounds="True" BorderBrush="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}">
10       <Grid x:Name="grid">
11          <Grid.ContextMenu>
12             <ContextMenu>
13                <MenuItem x:Name="menuRemoveImage" Header="_Remove image"  />
14             </ContextMenu>
15          </Grid.ContextMenu>
16          <Image x:Name="imagePreview" />
17          <TextBlock x:Name="txtImageNumber" Padding="2" Text="42" HorizontalAlignment="Right" VerticalAlignment="Bottom" Background="#4C000000" Foreground="White" Margin="0,0,3,3"/>
18          <Rectangle x:Name="viewport" Margin="24,30,71,26" Stroke="#BFFFFF00" RenderTransformOrigin="0.5,0.5"/>
19       </Grid>
20    </Border>
21 </UserControl>