* Add the analysis window.
[master-thesis.git] / Parasitemia / Parasitemia / GUI / ImageSourcePreview.xaml
index 6fd7ba2..262c89d 100644 (file)
@@ -6,10 +6,16 @@
       xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
       mc:Ignorable="d" d:DesignWidth="119.223" d:DesignHeight="84.911"
                >
-   <Border x:Name="border" BorderBrush="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}">
-      <Grid>
+   <Border x:Name="border" ClipToBounds="True" BorderBrush="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}">
+      <Grid x:Name="grid">
+         <Grid.ContextMenu>
+            <ContextMenu>
+               <MenuItem x:Name="menuRemoveImage" Header="_Remove image"  />
+            </ContextMenu>
+         </Grid.ContextMenu>
          <Image x:Name="imagePreview" />
-         <Label x:Name="lblImageNumber" HorizontalAlignment="Right" VerticalAlignment="Bottom" Background="#4C000000" Foreground="White"/>
+         <TextBlock x:Name="txtImageNumber" Padding="2" Text="42" HorizontalAlignment="Right" VerticalAlignment="Bottom" Background="#4C000000" Foreground="White" Margin="0,0,3,3"/>
+         <Rectangle x:Name="viewport" Margin="24,30,71,26" Stroke="#BFFFFF00" RenderTransformOrigin="0.5,0.5"/>
       </Grid>
    </Border>
 </UserControl>
\ No newline at end of file