<UserControl x:Class="AlzFrontUC"
   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="768" d:DesignWidth="256">
    <!-- Definizione della Grid Laterale -->
    <Grid Name="VariablesCompoGrid"  Grid.RowSpan="2">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*"/>
            <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>

        <!--Titolo della colonna della ALZATINE-->
        <TextBlock Name="SideAngleBl" Grid.Row="0" Grid.Column="2" Text="Alz."
               Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"
               FontSize="{DynamicResource FontSize_LowerCaseCharacter}"/>

        <!--Titolo della colonna dei FRONTALINI-->
        <TextBlock Name="HeelBl" Grid.Row="0" Grid.Column="3" Text="Front."
               Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"
               FontSize="{DynamicResource FontSize_LowerCaseCharacter}"/>

        <TextBlock Name="Entity1" Grid.Row="1" Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"/>
        <CheckBox Name="A1" Grid.Column="2" Grid.Row="1" Height="30" Width="40" HorizontalAlignment="Right"
                  Margin="-10,0,0,0"/>
        <CheckBox Name="F1" Grid.Column="3" Grid.Row="1" Height="30" Width="40" HorizontalAlignment="Right"
                  Margin="-10,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="2" Grid.Row="2" Height="30" Width="40" HorizontalAlignment="Right"
                  Margin="-20,0,0,0"/>
        <CheckBox Name="F2" Grid.Column="3" 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="2" Grid.Row="3" Height="30" Width="40" HorizontalAlignment="Right"
                  Margin="-20,0,0,0"/>
        <CheckBox Name="F3" Grid.Column="3" 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="2" Grid.Row="4" Height="30" Width="40" HorizontalAlignment="Right"
                  Margin="-20,0,0,0"/>
        <CheckBox Name="F4" Grid.Column="3" 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="2" Grid.Row="5" Height="30" Width="40" HorizontalAlignment="Right"
                  Margin="-20,0,0,0"/>
        <CheckBox Name="F5" Grid.Column="3" 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="2" Grid.Row="6" Height="30" Width="40" HorizontalAlignment="Right"
                  Margin="-20,0,0,0"/>
        <CheckBox Name="F6" Grid.Column="3" 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="2" Grid.Row="7" Height="30" Width="40" HorizontalAlignment="Right"
                  Margin="-20,0,0,0"/>
        <CheckBox Name="F7" Grid.Column="3" 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="2" Grid.Row="8" Height="30" Width="40" HorizontalAlignment="Right"
                  Margin="-20,0,0,0"/>
        <CheckBox Name="F8" Grid.Column="3" 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="2" Grid.Row="9" Height="30" Width="40" HorizontalAlignment="Right"
                  Margin="-20,0,0,0"/>
        <CheckBox Name="F9" Grid.Column="3" 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="2" Grid.Row="10" Height="30" Width="40" HorizontalAlignment="Right"
                  Margin="-20,0,0,0"/>

        <CheckBox Name="F10" Grid.Column="3" 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*"/>
                <ColumnDefinition Width="0.3*"/>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="0.55*"/>
                <RowDefinition Height="0.55*"/>
                <RowDefinition Height="0.55*"/>
                <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>

            <!-- Altezza delle alette --> 
            <TextBlock Name="Parameter1TxBl" Grid.Row="0" Grid.ColumnSpan="2"
                           Text="Offset"
                           Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"
                           FontSize="{DynamicResource FontSize_LowerCaseCharacter}"/>
            
            <EgtWPFLib:EgtTextBox Name="Parameter1ATxBx"                                  
                                  Grid.Column="2" Grid.Row="0"
                                  HorizontalAlignment="Right"
                                  Width="60" Height="30" Margin="0,0,0,0"
                                  Style="{StaticResource OmagCut_CalculatorTextBox}"/>
            <EgtWPFLib:EgtTextBox Name="Parameter1FTxBx" 
                                  Grid.Column="3" Grid.Row="0" 
                                  HorizontalAlignment="Right"
                                  Width="60" Height="30" Margin="0,0,0,0"
                                  Style="{StaticResource OmagCut_CalculatorTextBox}"/>
            
            <!-- Delta angolo (abilitato solo per i frontalini) -->
            <TextBlock Name="Parameter2TxBl" Grid.Row="1" Grid.ColumnSpan="2"
                       Text="Offset2"
                       Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"
                       FontSize="{DynamicResource FontSize_LowerCaseCharacter}"/>
            <!-- temporaneamente disabilito la definizione delta angolo per alzatine  -->
            <EgtWPFLib:EgtTextBox Name="Parameter2ATxBx" 
                                  IsEnabled="False"
                                  Visibility="Collapsed"
                                  Grid.Column="2" Grid.Row="1"
                                  HorizontalAlignment="Right"
                                  Width="60" Height="30" Margin="0,0,0,0"
                                  Style="{StaticResource OmagCut_CalculatorTextBox}"/>
            <EgtWPFLib:EgtTextBox Name="Parameter2FTxBx" 
                                  Grid.Column="3" Grid.Row="1" 
                                  HorizontalAlignment="Right"
                                  Width="60" Height="30" Margin="0,0,0,0"
                                  Style="{StaticResource OmagCut_CalculatorTextBox}"/>

            <!-- Spessore aletta -->
            <TextBlock Name="Parameter5TxBl" Grid.Row="2" Grid.ColumnSpan="2"
                       Text="Offset2"
                       Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"
                       FontSize="{DynamicResource FontSize_LowerCaseCharacter}"/>
            <EgtWPFLib:EgtTextBox Name="Parameter5TxBx" 
                                  Grid.Column="2" Grid.Row="2" 
                                  HorizontalAlignment="Right"
                                  Width="60" Height="30" Margin="0,0,0,0"
                                  Style="{StaticResource OmagCut_CalculatorTextBox}"/>

            <!--Gestisco nello spazio di una TextBox due TextBoxs--><!--
            <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}"/>-->
            
            <UniformGrid Columns="2" Grid.ColumnSpan="4" Grid.Row="3">
                <!--questo bottone è stato creato solo per garantire il corretto allinaemento-->
                <Button Name="Vuoto" Visibility="Hidden"/>
                <!--Bottone per tornare indietro alla selezione di CompoInterni e Alz&Front-->
                <Button Name="BackBtn" 
                    Style="{DynamicResource OmagCut_YellowIconButton}">
                    <Image Source="{DynamicResource NumericKeyboardArrowImg}" Style="{StaticResource OmagCut_ButtonIcon}"/>
                </Button>
            </UniformGrid>
           
        </Grid>



    </Grid>

</UserControl>

