<Window x:Class="OtherRefTabWD"
        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"
        FontFamily="{DynamicResource OmagCut_Font}"
        ResizeMode="NoResize" WindowStyle="None" AllowsTransparency="True" Background="Transparent"
        Title="ModifStartEndWD" Height="350" Width="320" ShowInTaskbar="False">

   <!--Definizione della pagina di scelta del nome con cui salvare il progetto-->
   <Border Style="{DynamicResource OmagCut_Border}">
      <Grid x:Name="SaveNameGrid">
         <Grid.ColumnDefinitions>
            <ColumnDefinition Width="0.2*"/>
            <ColumnDefinition Width="2*"/>
            <ColumnDefinition Width="2*"/>
            <ColumnDefinition Width="0.2*"/>
         </Grid.ColumnDefinitions>
         <Grid.RowDefinitions>
            <!--<RowDefinition Height="0.5*"/>
                    <RowDefinition Height="0.5*"/>
                    <RowDefinition Height="0.5*"/>
                    <RowDefinition Height="1*"/>
                    <RowDefinition Height="0.5*"/>-->
            <RowDefinition Height="0.2*"/>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="0.2*"/>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="0.2*"/>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="0.2*"/>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="0.2*"/>
            <RowDefinition Height="0.2*"/>
            <RowDefinition Height="1.5*"/>
            <RowDefinition Height="0.2*"/>
         </Grid.RowDefinitions>

         <TextBlock Name="SelRefTxbl" Grid.Column="1" Grid.Row="1"
                    Style="{DynamicResource OmagCut_CenteredLowerCaseCharacterTextBlock}"/>

         <ComboBox Name="RefTabCmBx" Grid.Column="2" Grid.Row="1" Style="{DynamicResource OmagCut_ComboBox}" 
                   MaxDropDownHeight="300" Margin="0,0,0,0">
            <ComboBox.ItemTemplate>
               <DataTemplate>
                  <TextBlock Text="{Binding Name}" Style="{DynamicResource OmagCut_LowerCaseCharacterTextBlock}"/>
               </DataTemplate>
            </ComboBox.ItemTemplate>
         </ComboBox>


         <TextBlock Name="RefRawTxbl" Grid.Column="1" Grid.Row="3"
                    Style="{DynamicResource OmagCut_CenteredLowerCaseCharacterTextBlock}"/>

         <ComboBox Name="RefTabOrientationCmBx" Grid.Column="2" Grid.Row="3" Style="{DynamicResource OmagCut_ComboBox}" 
                   MaxDropDownHeight="300" Margin="0,0,0,0">
            <ComboBox.ItemTemplate>
               <DataTemplate>
                  <TextBlock Text="{Binding}" Style="{DynamicResource OmagCut_LowerCaseCharacterTextBlock}"/>
               </DataTemplate>
            </ComboBox.ItemTemplate>
         </ComboBox>

         <TextBlock Name="RefTabXTxbl" Grid.Column="1" Grid.Row="5"
                    Style="{DynamicResource OmagCut_CenteredLowerCaseCharacterTextBlock}"/>
         <EgtWPFLib:EgtTextBox Name="RefTabXTxBx" Grid.Column="2" Grid.Row="5"
                               Style="{DynamicResource OmagCut_CalculatorTextBox}"/>

         <TextBlock Name="RefTabYTxbl" Grid.Column="1" Grid.Row="7"
                    Style="{DynamicResource OmagCut_CenteredLowerCaseCharacterTextBlock}"/>
         <EgtWPFLib:EgtTextBox Name="RefTabYTxBx" Grid.Column="2" Grid.Row="7"
                               Style="{DynamicResource OmagCut_CalculatorTextBox}"/>

         <Grid Name="ButtonsGrid" Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="10" Grid.RowSpan="1">
            <Grid.ColumnDefinitions>
               <ColumnDefinition Width="0.5*"/>
               <ColumnDefinition Width="1*"/>
               <ColumnDefinition Width="1*"/>
               <ColumnDefinition Width="1*"/>
               <ColumnDefinition Width="0.5*"/>
            </Grid.ColumnDefinitions>

            <Button Name="OkBtn" Grid.Column="1"
                    Style="{DynamicResource OmagCut_GradientBlueIconButton}">
               <Image Source="{DynamicResource VImg}" Style="{DynamicResource OmagCut_ButtonIcon}"/>
            </Button>
            <Button Name="ExitBtn" Grid.Column="3"
                    IsCancel="True"
                    Style="{DynamicResource OmagCut_GradientBlueIconButton}">
               <Image Source="{DynamicResource XImg}" Style="{DynamicResource OmagCut_ButtonIcon}"/>
            </Button>

         </Grid>

      </Grid>

   </Border>

</Window>