<EgtWPFLib5:EgtCustomWindow x:Class="OnlyProdAddRawPartWndV"
                            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                            xmlns:EgtWPFLib5="clr-namespace:EgtWPFLib5;assembly=EgtWPFLib5"
                            WindowStyle="None" ResizeMode="NoResize"
                            SizeToContent="WidthAndHeight"
                            WindowStartupLocation="CenterOwner"
                            IsClosable="False"
                            IsMinimizable="False"
                            IsResizable="False"
                            Title="AddRawPartWnd"
                            Style="{StaticResource OnlyProd_EgtCustomWindow}">
   <Grid Margin="5,5,5,0">
      <Grid.RowDefinitions>
         <RowDefinition Height="Auto"/>
         <RowDefinition Height="Auto"/>
         <RowDefinition Height="Auto"/>
      </Grid.RowDefinitions>
      <ComboBox ItemsSource="{Binding DimensionsList}"
                SelectedItem="{Binding SelDimension}"
                DisplayMemberPath="sDimension"
                Visibility="{Binding DimensionsList_Visibility}"
                Margin="0,0,0,5"
                Style="{StaticResource OnlyProd_ComboBox}"/>
      <ItemsControl Grid.Row="1"
                    ItemsSource="{Binding VariableList}">
         <ItemsControl.ItemTemplate>
            <DataTemplate>
               <Grid Margin="0,0,0,5">
                  <Grid.ColumnDefinitions>
                     <ColumnDefinition Width="1*"/>
                     <ColumnDefinition Width="Auto"/>
                  </Grid.ColumnDefinitions>

                  <TextBlock Text="{Binding sMsg}"
                             Style="{StaticResource OptionTextBlock}"/>
                  <EgtWPFLib5:EgtTextBox Grid.Column="1"
                                         Text="{Binding sValue}"
                                         Style="{StaticResource Value_TextBox}"/>
               </Grid>
            </DataTemplate>
         </ItemsControl.ItemTemplate>
      </ItemsControl>
      <UniformGrid Grid.Row="2"
                   Columns="2"
                   Margin="0,0,0,5">
         <Button Grid.Column="1"
                 Content="Ok"
                 Command="{Binding Ok_Command}"
                 IsDefault="True"
                 Style="{StaticResource OnlyProdEgtWPFLib5_InputButton}"
                 Margin="0,0,5,0"/>
         <Button Grid.Column="3"
                 Content="Cancel"
                 IsCancel="True"
                 Style="{StaticResource OnlyProdEgtWPFLib5_InputButton}"/>
      </UniformGrid>
   </Grid>

</EgtWPFLib5:EgtCustomWindow>
