To .NET 5 (lot of refactoring)
[master-thesis.git] / Parasitemia / ParasitemiaUIControls / RBCFrame.xaml
1 <UserControl
2     x:Class="ParasitemiaUIControls.RBCFrame"
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="100" d:DesignHeight="100"
9 >
10     <Grid x:Name="grid" x:FieldModifier="public">
11         <Grid.ContextMenu>
12             <ContextMenu>
13                 <MenuItem x:Name="menuRBCSetAsHealthy" x:FieldModifier="public" Header="_Set as healthy"  />
14                 <MenuItem x:Name="menuRBCSetAsInfected" x:FieldModifier="public" Header="_Set as infected" />
15             </ContextMenu>
16         </Grid.ContextMenu>
17         <Rectangle x:Name="border" x:FieldModifier="public" Fill="#00000000" />
18         <Polygon x:Name="manuallyAdded" x:FieldModifier="public" Points="0,0 12,0, 12,12" Fill="Black" HorizontalAlignment="Right" VerticalAlignment="Top" />
19         <Border HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,3,3" Background="#66000000" CornerRadius="5">
20             <TextBlock x:Name="txtRBCNumber" x:FieldModifier="public" Padding="2" Text="42" Foreground="White" FontSize="12" />
21         </Border>
22     </Grid>
23 </UserControl>