<EgtWPFLib5:EgtCustomWindow x:Class="OnlyProdMovePartInRawPartWndV"
                            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="MovePartInRawPartWndV"
                            Style="{StaticResource OnlyProd_EgtCustomWindow}">

   <Grid Margin="5,5,5,0">
      <Grid.RowDefinitions>
         <RowDefinition Height="Auto"/>
         <RowDefinition Height="Auto"/>
         <RowDefinition Height="Auto"/>
         <RowDefinition Height="Auto"/>
      </Grid.RowDefinitions>

      <Grid Style="{StaticResource OnlyProdAddPart_Grid}">
         <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
         </Grid.RowDefinitions>
         <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="Auto"/>
         </Grid.ColumnDefinitions>

         <TextBlock Grid.ColumnSpan="2"
                    Text="{Binding MoveDirMsg}"
                    Style="{StaticResource MoveDir_TextBlock}"/>

         <RadioButton Grid.Row="1" Grid.Column="0"
                      IsChecked="{Binding LeftIsChecked}"
                      Style="{StaticResource OnlyProdToolBar_ToggleButton}">
            <Image Source="/Resources/MovePartInRawPart/MoveLeftParts.png" Stretch="Uniform"/>
         </RadioButton>
         <RadioButton Grid.Row="1" Grid.Column="1"
                      IsChecked="{Binding RightIsChecked}" 
                      Style="{StaticResource OnlyProdToolBar_ToggleButton}">
            <Image Source="/Resources/MovePartInRawPart/MoveRightParts.png" Stretch="Uniform"/>
         </RadioButton>
      </Grid>

      <Grid Grid.Row="1"
            Margin="5,5,5,0">
         <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
         </Grid.RowDefinitions>

         <TextBlock Text="{Binding MoveLenMsg}"
                    Style="{StaticResource MoveDir_TextBlock}"/>
         <EgtWPFLib5:EgtTextBox Grid.Row="1"
                                Text="{Binding sMoveLen}"
                                Style="{StaticResource NAM_TextBox}"/>
      </Grid>

      <UniformGrid Grid.Row="3"
                   Columns="2"
                   Margin="5,5,5,0">

         <Button Grid.Column="1"
                 Content="Ok"
                 Command="{Binding Ok_Command}"
                 IsDefault="True"
                 Margin="0,0,5,0"
                 Style="{StaticResource OnlyProdEgtWPFLib5_InputButton}"/>
         <Button Grid.Column="3"
                 Content="Cancel"
                 IsCancel="True"
                 Style="{StaticResource OnlyProdEgtWPFLib5_InputButton}"/>
      </UniformGrid>
   </Grid>
</EgtWPFLib5:EgtCustomWindow>