<Window x:Class="SelectPartFromFamilyWD"
        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="SaveNameWD" Height="200" Width="400" 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.5*"/>
                <ColumnDefinition Width="4*"/>
                <ColumnDefinition Width="0.5*"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="0.1*"/>
                <RowDefinition Height="0.3*"/>
                <RowDefinition Height="0.2*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="0.2*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="0.2*"/>

            </Grid.RowDefinitions>

            <!--Messaggio: Seleziona il numero di pezzi-->
            <TextBlock Name="TitleWDTxbl" Grid.Column="1" Grid.Row="1"
                       Style="{DynamicResource OmagCut_CenteredLowerCaseCharacterTextBlock}"/>

            <UniformGrid Grid.Column="1" Grid.Row="3" VerticalAlignment="Center" Columns="2">
                <TextBlock Name="NbrOfPartsMsg"
                           Style="{DynamicResource OmagCut_CenteredLowerCaseCharacterTextBlock}"/>
                <EgtWPFLib:EgtTextBox Name="NbrOfParts"
                            Style="{DynamicResource OmagCut_CalculatorTextBox}" />
            </UniformGrid>

            <Grid Name="ButtonsGrid" Grid.Column="1" Grid.Row="5" Grid.RowSpan="1">
                <Grid.ColumnDefinitions>

                    <ColumnDefinition Width="0.5*"/>
                    <ColumnDefinition Width="1*"/>
                    <ColumnDefinition Width="0.5*"/>
                    <ColumnDefinition Width="1*"/>
                    <ColumnDefinition Width="0.5*"/>
                    <ColumnDefinition Width="1*"/>
                    <ColumnDefinition Width="0.5*"/>

                </Grid.ColumnDefinitions>

                <!--ultimo progetto-->
                <Button Name="ConfirmSelection" Grid.Column="1" Style="{DynamicResource OmagCut_RightGrayGradientYellowButton}"
                        ToolTip="Confirm">
                    <Image Source="{DynamicResource VImg}" Style="{StaticResource OmagCut_ButtonIcon}"/>
                </Button>
                <!--nuovo progetto-->
                <Button Name="SelectAllPart" Grid.Column="2" Style="{DynamicResource OmagCut_RightGrayGradientYellowButton}"
                        ToolTip="Select all" Visibility="Collapsed">
                    <Image Source="{DynamicResource NuovoImg}" Style="{StaticResource OmagCut_ButtonIcon}"/>
                </Button>
                <!--apri folder progetti-->
                <Button Name="CancelSelection" Grid.Column="5" Style="{DynamicResource OmagCut_RightGrayGradientYellowButton}"
                        ToolTip="Cancel">
                    <Image Source="{DynamicResource XImg}" Style="{StaticResource OmagCut_ButtonIcon}"/>
                </Button>

            </Grid>

        </Grid>

    </Border>
</Window>
