2 x:Class="ParasitemiaUIControls.ImageSourcePreview"
3 xmlns:local="clr-namespace:ParasitemiaUIControls"
4 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
5 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
6 xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
7 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
8 mc:Ignorable="d" d:DesignWidth="119.223" d:DesignHeight="84.911"
10 <Border x:Name="border" x:FieldModifier="public" ClipToBounds="True" BorderBrush="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}">
14 <MenuItem x:Name="menuRemoveImage" x:FieldModifier="public" Header="_Remove image" />
17 <Image x:Name="imagePreview" x:FieldModifier="public" />
18 <Border HorizontalAlignment="Right" VerticalAlignment="Bottom" Background="#4C000000" Margin="0,0,3,3" CornerRadius="5" >
19 <TextBlock x:Name="txtImageNumber" x:FieldModifier="public" Padding="2" Text="42" Foreground="White" />
21 <Rectangle x:Name="viewport" x:FieldModifier="public" Margin="24,30,71,26" Stroke="#BFFFFF00" RenderTransformOrigin="0.5,0.5" Visibility="Hidden"/>