<UserControl x:Class="SideAngleUC"
   xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
   xmlns:EgtWPFLib="clr-namespace:EgtWPFLib;assembly=EgtWPFLib"
   xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
   xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
   mc:Ignorable="d" 
   d:DesignHeight="597.1" d:DesignWidth="255.9">

   <!-- Definizione della Grid Laterale -->
   <Grid Name="VariablesCompoGrid"  Grid.RowSpan="2">
      <Grid.ColumnDefinitions>
         <ColumnDefinition Width="1.2*"/>
         <ColumnDefinition Width="0.3*"/> 
         <ColumnDefinition Width="1*"/>
         <ColumnDefinition Width="1*"/>
      </Grid.ColumnDefinitions>
      <Grid.RowDefinitions>
         <RowDefinition Height="1*"/>
         <RowDefinition Height="1*"/>
         <RowDefinition Height="1*"/>
         <RowDefinition Height="1*"/>
         <RowDefinition Height="1*"/>
         <RowDefinition Height="1*"/>
         <RowDefinition Height="1*"/>
         <RowDefinition Height="1*"/>
         <RowDefinition Height="1*"/>
         <RowDefinition Height="1*"/>
         <RowDefinition Height="1*"/>
         <RowDefinition Height="0.2*"/>
         <RowDefinition Height="4*"/>
         <!--<RowDefinition Height="0.5*"/>
         <RowDefinition Height="0.5*"/>
         <RowDefinition Height="0.5*"/>-->
      </Grid.RowDefinitions>

      <Grid>
         <Grid.ColumnDefinitions>
            <ColumnDefinition Width="0.4*"/>
            <ColumnDefinition Width="0.5*"/>
            <ColumnDefinition Width="0.5*"/>
            <ColumnDefinition Width="0.4*"/>
         </Grid.ColumnDefinitions>
         <Button Name="PrevBtn" Grid.Column="1" Margin="4,0,4,0" Padding="0" Content="&lt;" Style="{StaticResource OmagCut_YellowTextButton}"/>
         <Button Name="NextBtn" Grid.Column="2" Margin="4,0,4,0" Padding="0" Content="&gt;" Style="{StaticResource OmagCut_YellowTextButton}"/>
      </Grid>

      <TextBlock Name="SideAngleBl" Grid.Row="0" Grid.Column="2" Text="A °"
               Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"
               FontSize="{DynamicResource FontSize_LowerCaseCharacter}"/>

      <TextBlock Name="HeelBl" Grid.Row="0" Grid.Column="3" Text="T"
               Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"
               FontSize="{DynamicResource FontSize_LowerCaseCharacter}"/>

      <TextBlock Name="Entity1" Grid.Row="1" Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"/>
      <CheckBox Name="A1" Grid.Column="1" Grid.Row="1" Height="30" Width="40" HorizontalAlignment="Right"
         Margin="-20,0,0,0"/>
      <EgtWPFLib:EgtTextBox Name="A1TxBx" Grid.Column="2" Grid.Row="1" Width="60"
                            Style="{StaticResource OmagCut_CalculatorTextBox}"/>
      <EgtWPFLib:EgtTextBox Name="H1TxBx" Grid.Column="3" Grid.Row="1" Width="60"
                            Style="{StaticResource OmagCut_CalculatorTextBox}"/>

      <TextBlock Name="Entity2" Grid.Row="2" Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"/>
      <CheckBox Name="A2" Grid.Column="1" Grid.Row="2" Height="30" Width="40" HorizontalAlignment="Right"
         Margin="-20,0,0,0"/>
      <EgtWPFLib:EgtTextBox Name="A2TxBx" Grid.Column="2" Grid.Row="2" Width="60"
                            Style="{StaticResource OmagCut_CalculatorTextBox}"/>
      <EgtWPFLib:EgtTextBox Name="H2TxBx" Grid.Column="3" Grid.Row="2" Width="60"
                            Style="{StaticResource OmagCut_CalculatorTextBox}"/>

      <TextBlock Name="Entity3" Grid.Row="3" Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"/>
      <CheckBox Name="A3" Grid.Column="1" Grid.Row="3" Height="30" Width="40" HorizontalAlignment="Right"
         Margin="-20,0,0,0"/>
      <EgtWPFLib:EgtTextBox Name="A3TxBx" Grid.Column="2" Grid.Row="3" Width="60"
                            Style="{StaticResource OmagCut_CalculatorTextBox}"/>
      <EgtWPFLib:EgtTextBox Name="H3TxBx" Grid.Column="3" Grid.Row="3" Width="60"
                            Style="{StaticResource OmagCut_CalculatorTextBox}"/>

      <TextBlock Name="Entity4" Grid.Row="4" Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"/>
      <CheckBox Name="A4" Grid.Column="1" Grid.Row="4" Height="30" Width="40" HorizontalAlignment="Right"
         Margin="-20,0,0,0"/>
      <EgtWPFLib:EgtTextBox Name="A4TxBx" Grid.Column="2" Grid.Row="4" Width="60"
                            Style="{StaticResource OmagCut_CalculatorTextBox}"/>
      <EgtWPFLib:EgtTextBox Name="H4TxBx" Grid.Column="3" Grid.Row="4" Width="60"
                            Style="{StaticResource OmagCut_CalculatorTextBox}"/>

      <TextBlock Name="Entity5" Grid.Row="5" Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"/>
      <CheckBox Name="A5" Grid.Column="1" Grid.Row="5" Height="30" Width="40" HorizontalAlignment="Right"
         Margin="-20,0,0,0"/>
      <EgtWPFLib:EgtTextBox Name="A5TxBx" Grid.Column="2" Grid.Row="5" Width="60"
                            Style="{StaticResource OmagCut_CalculatorTextBox}"/>
      <EgtWPFLib:EgtTextBox Name="H5TxBx" Grid.Column="3" Grid.Row="5" Width="60"
                            Style="{StaticResource OmagCut_CalculatorTextBox}"/>

      <TextBlock Name="Entity6" Grid.Row="6" Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"/>
      <CheckBox Name="A6" Grid.Column="1" Grid.Row="6" Height="30" Width="40" HorizontalAlignment="Right"
         Margin="-20,0,0,0"/>
      <EgtWPFLib:EgtTextBox Name="A6TxBx" Grid.Column="2" Grid.Row="6" Width="60"
                            Style="{StaticResource OmagCut_CalculatorTextBox}"/>
      <EgtWPFLib:EgtTextBox Name="H6TxBx" Grid.Column="3" Grid.Row="6" Width="60"
                            Style="{StaticResource OmagCut_CalculatorTextBox}"/>

      <TextBlock Name="Entity7" Grid.Row="7" Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"/>
      <CheckBox Name="A7" Grid.Column="1" Grid.Row="7" Height="30" Width="40" HorizontalAlignment="Right"
         Margin="-20,0,0,0"/>
      <EgtWPFLib:EgtTextBox Name="A7TxBx" Grid.Column="2" Grid.Row="7" Width="60"
                            Style="{StaticResource OmagCut_CalculatorTextBox}"/>
      <EgtWPFLib:EgtTextBox Name="H7TxBx" Grid.Column="3" Grid.Row="7" Width="60"
                            Style="{StaticResource OmagCut_CalculatorTextBox}"/>

      <TextBlock Name="Entity8" Grid.Row="8" Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"/>
      <CheckBox Name="A8" Grid.Column="1" Grid.Row="8" Height="30" Width="40" HorizontalAlignment="Right"
         Margin="-20,0,0,0"/>
      <EgtWPFLib:EgtTextBox Name="A8TxBx" Grid.Column="2" Grid.Row="8" Width="60"
                            Style="{StaticResource OmagCut_CalculatorTextBox}"/>
      <EgtWPFLib:EgtTextBox Name="H8TxBx" Grid.Column="3" Grid.Row="8" Width="60"
                            Style="{StaticResource OmagCut_CalculatorTextBox}"/>

      <TextBlock Name="Entity9" Grid.Row="9" Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"/>
      <CheckBox Name="A9" Grid.Column="1" Grid.Row="9" Height="30" Width="40" HorizontalAlignment="Right"
         Margin="-20,0,0,0"/>
      <EgtWPFLib:EgtTextBox Name="A9TxBx" Grid.Column="2" Grid.Row="9" Width="60"
                            Style="{StaticResource OmagCut_CalculatorTextBox}"/>
      <EgtWPFLib:EgtTextBox Name="H9TxBx" Grid.Column="3" Grid.Row="9" Width="60"
                            Style="{StaticResource OmagCut_CalculatorTextBox}"/>

      <TextBlock Name="Entity10" Grid.Row="10" Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"/>
      <CheckBox Name="A10" Grid.Column="1" Grid.Row="10" Height="30" Width="40" HorizontalAlignment="Right"
          Margin="-20,0,0,0"/>
      <EgtWPFLib:EgtTextBox Name="A10TxBx" Grid.Column="2" Grid.Row="10" Width="60"
                            Margin="0,0,0,-2"
                            Style="{StaticResource OmagCut_CalculatorTextBox}"/>
      <EgtWPFLib:EgtTextBox Name="H10TxBx" Grid.Column="3" Grid.Row="10" Width="60"
                            Margin="0,0,0,-2"
                            Style="{StaticResource OmagCut_CalculatorTextBox}"/>

      <Grid Grid.Column="0" Grid.Row="12" Grid.ColumnSpan="4">
          <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1.5*"/>
                <ColumnDefinition Width="0.3*"/>
                <ColumnDefinition Width="0.6*"/>
                <ColumnDefinition Width="0.6*"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>

            <TextBlock Name="Parameter1TxBl" Grid.Row="0" Grid.ColumnSpan="2"
               Text="Offset"
               Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"
               FontSize="{DynamicResource FontSize_LowerCaseCharacter}"/>
            <EgtWPFLib:EgtTextBox Name="Parameter1TxBx" 
               Grid.Column="2" Grid.ColumnSpan="2" Grid.Row="0" 
               Width="85" Height="30"
               Style="{StaticResource OmagCut_CalculatorTextBox}"/>

            <TextBlock Name="Parameter2TxBl" Grid.Row="1" Grid.ColumnSpan="2"
               Text="Offset2"
               Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"
               FontSize="{DynamicResource FontSize_LowerCaseCharacter}"/>
            <EgtWPFLib:EgtTextBox Name="Parameter2TxBx" 
               Grid.Column="2" Grid.ColumnSpan="2" Grid.Row="1" Width="85"
               Style="{StaticResource OmagCut_CalculatorTextBox}"/>
            <UniformGrid Rows="1" Grid.Column="2" Grid.Row="1" Grid.ColumnSpan="2" Width="90" >
                <EgtWPFLib:EgtTextBox Name="Parameter2aTxBx" 
                                      Grid.Column="2" Grid.Row="12"
                                      Width="40" Height="30"
               Style="{StaticResource OmagCut_CalculatorTextBox}"/>
                <EgtWPFLib:EgtTextBox Name="Parameter2bTxBx" 
                                      Grid.Column="3" Grid.Row="12" 
                                      Width="40" Height="30"
               Style="{StaticResource OmagCut_CalculatorTextBox}"/>
            </UniformGrid>


            <TextBlock Name="Parameter3TxBl" Grid.Row="2" Grid.ColumnSpan="2"
               Text="Affondamento"
               Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"
               FontSize="{DynamicResource FontSize_LowerCaseCharacter}"/>
            <EgtWPFLib:EgtTextBox Name="Parameter3TxBx" 
                                  Grid.Column="2" Grid.ColumnSpan="2" Grid.Row="2" 
                                  Margin="0,0,0,-2"
                                  Width="85" Height="30"
               Style="{StaticResource OmagCut_CalculatorTextBox}"/>

            <TextBlock Name="Parameter4TxBl" Grid.Row="3" Grid.ColumnSpan="2"
               Text="Accorciamento"
               Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"
               FontSize="{DynamicResource FontSize_LowerCaseCharacter}"/>
            <EgtWPFLib:EgtTextBox Name="Parameter4TxBx" 
                                  Grid.Column="2" Grid.ColumnSpan="2" Grid.Row="3" 
                                  Margin="0,0,0,-2"
                                  Width="85" Height="30"
               Style="{StaticResource OmagCut_CalculatorTextBox}"/>
        </Grid>

        <!--<TextBlock Name="Parameter1TxBl" Grid.Row="11" Text="Offset"
               Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"
               FontSize="{DynamicResource FontSize_LowerCaseCharacter}"/>
      <EgtWPFLib:EgtTextBox Name="Parameter1TxBx" Grid.Column="1" Grid.ColumnSpan="3" Grid.Row="11" Width="90"
               Style="{StaticResource OmagCut_CalculatorTextBox}"/>

      <TextBlock Name="Parameter2TxBl" Grid.Row="12" Text="Offset2"
               Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"
               FontSize="{DynamicResource FontSize_LowerCaseCharacter}"/>
      <EgtWPFLib:EgtTextBox Name="Parameter2TxBx" Grid.Column="1" Grid.ColumnSpan="3" Grid.Row="12" Width="90"
               Style="{StaticResource OmagCut_CalculatorTextBox}"/>
        <UniformGrid Rows="1" Grid.Column="1" Grid.Row="12" Grid.ColumnSpan="3" Width="90" >
             <EgtWPFLib:EgtTextBox Name="Parameter2aTxBx" Grid.Column="2" Grid.Row="12" Width="45"
               Style="{StaticResource OmagCut_CalculatorTextBox}" Margin="0,0,0,0" />
             <EgtWPFLib:EgtTextBox Name="Parameter2bTxBx" Grid.Column="3" Grid.Row="12" Width="45"
               Style="{StaticResource OmagCut_CalculatorTextBox}"/>
        </UniformGrid> 
     

      <TextBlock Name="Parameter3TxBl" Grid.Row="13" Text="Affondamento"
               Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"
               FontSize="{DynamicResource FontSize_LowerCaseCharacter}"/>
      <EgtWPFLib:EgtTextBox Name="Parameter3TxBx" Grid.Column="1" Grid.ColumnSpan="3" Grid.Row="13" Width="90"
               Style="{StaticResource OmagCut_CalculatorTextBox}"/>

      <TextBlock Name="Parameter4TxBl" Grid.Row="14" Text="Accorciamento"
               Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"
               FontSize="{DynamicResource FontSize_LowerCaseCharacter}"/>
      <EgtWPFLib:EgtTextBox Name="Parameter4TxBx" Grid.Column="1" Grid.ColumnSpan="3" Grid.Row="14" Width="90"
               Style="{StaticResource OmagCut_CalculatorTextBox}"/>-->

   </Grid>

</UserControl>
