Improve readability of highlighted RBCs.
[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          <Border HorizontalAlignment="Right" VerticalAlignment="Bottom" Background="#4C000000" Margin="0,0,3,3" CornerRadius="5" >
18             <TextBlock x:Name="txtImageNumber" Padding="2" Text="42" Foreground="White" />
19          </Border>
20          <Rectangle x:Name="viewport" Margin="24,30,71,26" Stroke="#BFFFFF00" RenderTransformOrigin="0.5,0.5"/>
21       </Grid>
22    </Border>
23 </UserControl>