<UserControl x:Class="FrameCutPageUC"
   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="853.3" d:DesignWidth="1280">

   <!-- Definizione della FrameCutPage -->
   <Grid Name="FrameCutPageGrid" >
      <Grid.ColumnDefinitions>
         <ColumnDefinition Width="3*"/>
         <ColumnDefinition Width="12*"/>
      </Grid.ColumnDefinitions>
      <Grid.RowDefinitions>
         <RowDefinition Height="1*"/>
         <RowDefinition Height="8*"/>
         <RowDefinition Height="1*"/>
      </Grid.RowDefinitions>
      
      <!-- Definizione della Grid superiore -->
      <Grid Grid.Column="1" Grid.Row="0" >
         <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="4*"/>
         </Grid.ColumnDefinitions>
         
         <Button Name="PhotoBtn" Grid.Column="0" Style="{DynamicResource OmagCut_RightGrayGradientYellowButton}">
            <Image Source="{DynamicResource PhotoImg}" Style="{StaticResource OmagCut_ButtonIcon}"/>
         </Button>
         <Button Name="RawPartBtn" Grid.Column="1" Style="{DynamicResource OmagCut_RightGrayGradientYellowButton}">
            <Image Source="{DynamicResource RawPartImg}" Style="{StaticResource OmagCut_ButtonIcon}"/>
         </Button>
         <ToggleButton Name="MachiningBtn" Grid.Column="4" Style="{DynamicResource OmagCut_RightGrayYellowIconToggleButton}">
            <Image Source="{DynamicResource FrameMachiningImg}" Style="{StaticResource OmagCut_ButtonIcon}"/>
         </ToggleButton>

      </Grid>

      <Grid Name="LeftGrid" Grid.Row="1">
         <Grid.RowDefinitions>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="7*"/>
         </Grid.RowDefinitions>
      
      <Grid Grid.Row="1">
         <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="1*"/>
         </Grid.ColumnDefinitions>
         <Grid.RowDefinitions>
            <RowDefinition Height="0.6*"/>
            <RowDefinition Height="0.8*"/>
            <RowDefinition Height="0.5*"/>
            <RowDefinition Height="0.5*"/>
            <RowDefinition Height="0.5*"/>
            <RowDefinition Height="0.8*"/>
            <RowDefinition Height="2.5*"/>
         </Grid.RowDefinitions>

         <ComboBox Name="AlongAxCmBx" Grid.Row="0" Grid.ColumnSpan="3" Style="{StaticResource OmagCut_ComboBox}" 
               Width="200" MaxDropDownHeight="300">
            <ComboBox.ItemTemplate>
               <DataTemplate>
                  <TextBlock Text="{Binding}" Style="{StaticResource OmagCut_LowerCaseCharacterTextBlock}"/>
               </DataTemplate>
            </ComboBox.ItemTemplate>
         </ComboBox>

         <UniformGrid Grid.Column="0" Grid.Row="1" Grid.ColumnSpan="3" Columns="2" >
            <Button Name="SelSectionBtn" 
                    Style="{DynamicResource OmagCut_YellowGradientYellowIconButton}">
                <Image Source="{DynamicResource Sezione-corniceImg}" Style="{DynamicResource OmagCut_ButtonIcon}"/>
            </Button>
             
            <Grid>
               <Button Name="SelGuideBtn" 
                       Style="{DynamicResource OmagCut_YellowTextButton}"/>
               <UniformGrid Name="ArcGrid" Grid.Column="0" Grid.Row="1" Grid.ColumnSpan="3" Columns="2" >
                  <TextBlock Name="ArcRadTxBl"  Grid.Row="2" Grid.ColumnSpan="2"
                             Style="{DynamicResource OmagCut_ToolsDBTextBlock}"/>
                  <EgtWPFLib:EgtTextBox Name="ArcRadTxBx" Grid.Column="2" Grid.Row="2" Width="50"
                             Style="{DynamicResource OmagCut_CalculatorTextBox}"/>
                  <TextBlock Name="ArcAngTxBl"  Grid.Row="3" Grid.ColumnSpan="2"
                             Style="{DynamicResource OmagCut_ToolsDBTextBlock}"/>
                  <EgtWPFLib:EgtTextBox Name="ArcAngTxBx" Grid.Column="2" Grid.Row="3" Width="50"
                             Style="{DynamicResource OmagCut_CalculatorTextBox}"/>
               </UniformGrid>
            </Grid>  
         </UniformGrid>

         <TextBlock Name="OffsZTxBl"  Grid.Row="2" Grid.ColumnSpan="2"
               Style="{DynamicResource OmagCut_ToolsDBTextBlock}"/>
         <EgtWPFLib:EgtTextBox Name="OffsZTxBx" Grid.Column="2" Grid.Row="2" Width="50"
               Style="{DynamicResource OmagCut_CalculatorTextBox}"/>

         <TextBlock Name="OffsXyTxBl"  Grid.Row="3" Grid.ColumnSpan="2"
               Style="{DynamicResource OmagCut_ToolsDBTextBlock}"/>
         <EgtWPFLib:EgtTextBox Name="OffsXyTxBx" Grid.Column="2" Grid.Row="3" Width="50"
               Style="{DynamicResource OmagCut_CalculatorTextBox}"/>

         <TextBlock Name="OffsYyTxBl"  Grid.Row="4" Grid.ColumnSpan="2"
            Style="{DynamicResource OmagCut_ToolsDBTextBlock}"/>
         <EgtWPFLib:EgtTextBox Name="OffsYyTxBx" Grid.Column="2" Grid.Row="4" Width="50"
            Style="{DynamicResource OmagCut_CalculatorTextBox}"/>

         <UniformGrid Grid.Column="0" Grid.Row="5" Grid.ColumnSpan="3" Columns="2" >
            <Button Name="MirrorPartBtn" 
                    Style="{DynamicResource OmagCut_RightGrayGradientYellowButton}">
                        <Image Source="{DynamicResource SpecchiaImg}" Style="{DynamicResource OmagCut_ButtonIcon}"/>
            </Button>
            <Button Name="RemovePartBtn" 
                    Style="{DynamicResource OmagCut_RightGrayGradientYellowButton}">
                        <Image Source="{DynamicResource Rimuovi_eliminaImg}" Style="{DynamicResource OmagCut_ButtonIcon}"/>
            </Button>
         </UniformGrid>

         <!--<TextBlock Name="SawRoughingTxBl" Grid.Row="4" Grid.ColumnSpan="3"
            Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"/>

         <ComboBox Name="SawRoughingCmBx" Grid.Row="5" Grid.ColumnSpan="3" Style="{StaticResource OmagCut_ComboBox}"
               Width="200" MaxDropDownHeight="300">
            <ComboBox.ItemTemplate>
               <DataTemplate>
                  <TextBlock Text="{Binding}" Style="{StaticResource OmagCut_LowerCaseCharacterTextBlock}"/>
               </DataTemplate>
            </ComboBox.ItemTemplate>
         </ComboBox>

         <TextBlock Name="SawFinishingTxBl"  Grid.Row="6" Grid.ColumnSpan="3"
               Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"/>

         <ComboBox Name="SawFinishingCmBx" Grid.Row="7" Grid.ColumnSpan="3" Style="{StaticResource OmagCut_ComboBox}"
                   Width="200" MaxDropDownHeight="300">
            <ComboBox.ItemTemplate>
               <DataTemplate>
                  <TextBlock Text="{Binding}" Style="{StaticResource OmagCut_LowerCaseCharacterTextBlock}"/>
               </DataTemplate>
            </ComboBox.ItemTemplate>
         </ComboBox>

         <TextBlock Name="SawSideFinTxBl"  Grid.Row="8" Grid.ColumnSpan="3"
               Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"/>

         <ComboBox Name="SawSideFinCmBx" Grid.Row="9" Grid.ColumnSpan="3" Style="{StaticResource OmagCut_ComboBox}"
               Width="200" MaxDropDownHeight="300">
            <ComboBox.ItemTemplate>
               <DataTemplate>
                  <TextBlock Text="{Binding}" Style="{StaticResource OmagCut_LowerCaseCharacterTextBlock}"/>
               </DataTemplate>
            </ComboBox.ItemTemplate>
         </ComboBox>

         <TextBlock Name="StartTrimTxBl"  Grid.Row="10" Grid.ColumnSpan="2"
               Style="{StaticResource OmagCut_ToolsDBTextBlock}"/>
         <EgtWPFLib:EgtTextBox Name="StartTrimTxBx" Grid.Column="2" Grid.Row="10" Width="50"
               Style="{StaticResource OmagCut_CalculatorTextBox}"/>

         <TextBlock Name="EndTrimTxBl"  Grid.Row="11" Grid.ColumnSpan="2"
               Style="{StaticResource OmagCut_ToolsDBTextBlock}"/>
         <EgtWPFLib:EgtTextBox Name="EndTrimTxBx" Grid.Column="2" Grid.Row="11" Width="50"
               Style="{StaticResource OmagCut_CalculatorTextBox}"/>

         <TextBlock Name="SawSingleTxBl" Grid.Row="12" Grid.ColumnSpan="3"
               Style="{StaticResource OmagCut_CenteredLowerCaseCharacterTextBlock}"/>

         <ComboBox Name="SawSingleCmBx" Grid.Row="13" Grid.ColumnSpan="3" Style="{StaticResource OmagCut_ComboBox}"
               Width="200" MaxDropDownHeight="300">
            <ComboBox.ItemTemplate>
               <DataTemplate>
                  <TextBlock Text="{Binding}" Style="{StaticResource OmagCut_LowerCaseCharacterTextBlock}"/>
               </DataTemplate>
            </ComboBox.ItemTemplate>
         </ComboBox>-->

      </Grid>
         
      </Grid>

   </Grid>

</UserControl>
