<Window x:Class="VeinMatchingWindow"
   xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
   TextBlock.FontFamily="{DynamicResource OmagCut_Font}"
   Height="500" Width="500" ShowInTaskbar="False" Initialized="Window_Initialized" MinWidth="300" MinHeight="300">

    <Grid Name="VeinMatchingGrid" Background="{DynamicResource OmagCut_Gray}">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="91"/>
            <ColumnDefinition Width="1*"/>
        </Grid.ColumnDefinitions>
        <DockPanel>
            <StackPanel Orientation="Vertical" VerticalAlignment="Top" DockPanel.Dock="Top">
                <Button Name="NewBtn" Height="64"
                        Style="{DynamicResource OmagCut_YellowTextButton}"
                        Content="New"/>
                <Button Name="ExportBtn" Height="64"
                        Style="{DynamicResource OmagCut_YellowTextButton}"
                        Content="Export"/>
                <Button Name="AssemblyBtn" Height="64"
                        Style="{DynamicResource OmagCut_YellowTextButton}"
                        Content="3D"/>
                <Button Name="ImportCurrProjBtn" Height="64"
                        Style="{DynamicResource OmagCut_YellowTextButton}"
                        Content="Import"/>
                <ToggleButton Name="MeasureBtn" Grid.Column="0" Style="{DynamicResource OmagCut_RightGrayYellowIconToggleButton}">
                    <Image Source="{DynamicResource MeasureImg}" Style="{StaticResource OmagCut_ButtonIcon}"/>
                </ToggleButton>
            </StackPanel>
            
            <StackPanel Name="DistanceStkPnl" Orientation="Vertical" VerticalAlignment="Bottom" DockPanel.Dock="Bottom" Margin="10,0,0,0">
                <!--Distanza-->
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="1*"/>
                        <ColumnDefinition Width="2*"/>
                    </Grid.ColumnDefinitions>
                    <TextBlock Name="MeasureLabTxBl" Height="20" DockPanel.Dock="Bottom" Grid.Column="0" Foreground="{StaticResource Omag_LightGray}" 
                               Text="Dist=" HorizontalAlignment="Right" />
                    <TextBlock Name="MeasureValTxBl" Height="20" DockPanel.Dock="Bottom" Grid.Column="1" Foreground="{StaticResource Omag_LightGray}"
                               HorizontalAlignment="Left"/>
                </Grid>
                <!--Proiezione in X-->
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="1*"/>
                        <ColumnDefinition Width="2*"/>
                    </Grid.ColumnDefinitions>
                    <TextBlock Name="dXLabTxBl" Height="20" DockPanel.Dock="Bottom" Grid.Column="0" Foreground="{StaticResource Omag_LightGray}" 
                               Text="dX=" HorizontalAlignment="Right"/>
                    <TextBlock Name="dXValTxBl" Height="20" DockPanel.Dock="Bottom" Grid.Column="1" Foreground="{StaticResource Omag_LightGray}"
                               HorizontalAlignment="Left"/>
                </Grid>
                <!--Proiezione in Y -->
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="1*"/>
                        <ColumnDefinition Width="2*"/>
                    </Grid.ColumnDefinitions>
                    <TextBlock Name="dYLabTxBl" Height="20" DockPanel.Dock="Bottom" Grid.Column="0" Foreground="{StaticResource Omag_LightGray}" 
                               Text="dY=" HorizontalAlignment="Right"/>
                    <TextBlock Name="dYValTxBl" Height="20" DockPanel.Dock="Bottom" Grid.Column="1" Foreground="{StaticResource Omag_LightGray}"
                               HorizontalAlignment="Left"/>
                </Grid>
                <!--Proiezione in Z -->
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="1*"/>
                        <ColumnDefinition Width="2*"/>
                    </Grid.ColumnDefinitions>
                    <TextBlock Name="dZLabTxBl" Height="20" DockPanel.Dock="Bottom" Grid.Column="0" Foreground="{StaticResource Omag_LightGray}" 
                               Text="dZ=" HorizontalAlignment="Right"/>
                    <TextBlock Name="dZValTxBl" Height="20" DockPanel.Dock="Bottom" Grid.Column="1" Foreground="{StaticResource Omag_LightGray}"
                               HorizontalAlignment="Left"/>
                </Grid>
            </StackPanel>
        </DockPanel>
    </Grid>

</Window>
