<UniformGrid x:Class="PartParametersV"
             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"
             xmlns:EgtBEAMWALL="clr-namespace:EgtBEAMWALL.ViewerOptimizer"
             xmlns:system="clr-namespace:System;assembly=mscorlib"
             Columns="1"
             Rows="1">

   <Grid>
      <Grid.ColumnDefinitions>
         <ColumnDefinition Width="1*"/>
         <ColumnDefinition Width="1*"/>
         <ColumnDefinition Width="1*"/>
      </Grid.ColumnDefinitions>
      <Grid.RowDefinitions>
         <RowDefinition Height="1*"/>
         <RowDefinition Height="1*"/>
      </Grid.RowDefinitions>
      <UniformGrid Columns="2" Margin="0,0,0,-45">
   <TextBlock Text="{Binding NAM_MSG}"
              Style="{StaticResource PartParam_TextBlock}"/>
      <EgtWPFLib5:EgtTextBox Text="{Binding Tag.sNAM, UpdateSourceTrigger=Explicit,
                                         RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}}}"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_TextBox}"/>
      <TextBlock Text="{Binding COUNT_MSG}"
              Style="{StaticResource PartParam_TextBlock}"/>
      <EgtWPFLib5:EgtTextBox Text="{Binding Tag.sCNT, UpdateSourceTrigger=Explicit,
                                         RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}}}"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_TextBox}"/>
      <TextBlock Text="{Binding ORDERNUM_MSG}"
              Style="{StaticResource PartParam_TextBlock}"/>
      <EgtWPFLib5:EgtTextBox Text="{Binding Tag.nORDERNUM, UpdateSourceTrigger=Explicit,
                                         RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}}}"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_TextBox}"/>
      <TextBlock Text="{Binding PLANINGLEN_MSG}"
              Style="{StaticResource PartParam_TextBlock}"/>
      <EgtWPFLib5:EgtTextBox Text="{Binding Tag.dPLANINGLEN, UpdateSourceTrigger=Explicit,
                                  RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}}}"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_TextBox}"/>
      <TextBlock Text="{Binding STARTOFFSET_MSG}"
              Style="{StaticResource PartParam_TextBlock}"/>
      <EgtWPFLib5:EgtTextBox Text="{Binding Tag.dSTARTOFFSET, UpdateSourceTrigger=Explicit,
                                         RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}}}"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_TextBox}"/>
      <TextBlock Text="{Binding ENDOFFSET_MSG}"
              Style="{StaticResource PartParam_TextBlock}"/>
      <EgtWPFLib5:EgtTextBox Text="{Binding Tag.dENDOFFSET, UpdateSourceTrigger=Explicit,
                                         RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}}}"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_TextBox}"/>
      <TextBlock Text="{Binding DESIGN_MSG}"
              Style="{StaticResource PartParam_TextBlock}"/>
      <EgtWPFLib5:EgtTextBox Text="{Binding Tag.sDESIGN, UpdateSourceTrigger=Explicit,
                                         RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}}}"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_TextBox}"/>
      <TextBlock Text="{Binding GROUP_MSG}"
              Style="{StaticResource PartParam_TextBlock}"/>
      <EgtWPFLib5:EgtTextBox Text="{Binding Tag.sGROUP, UpdateSourceTrigger=Explicit,
                                         RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}}}"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_TextBox}"/>
      <TextBlock Text="{Binding STOREY_MSG}"
              Style="{StaticResource PartParam_TextBlock}"/>
      <EgtWPFLib5:EgtTextBox Text="{Binding Tag.sSTOREY, UpdateSourceTrigger=Explicit,
                                         RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}}}"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_TextBox}"/>
      <TextBlock Text="{Binding ANNOT_MSG}"
              Style="{StaticResource PartParam_TextBlock}"/>
      <EgtWPFLib5:EgtTextBox Text="{Binding Tag.sANNOT, UpdateSourceTrigger=Explicit,
                                         RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}}}"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_TextBox}"/>
      <TextBlock Text="{Binding MATERIAL_MSG}"
              Style="{StaticResource PartParam_TextBlock}"/>
      <EgtWPFLib5:EgtTextBox Text="{Binding Tag.sMATERIAL, UpdateSourceTrigger=Explicit,
                                         RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}}}"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_TextBox}"/>
      <!--<TextBlock Text="{Binding USERATTRIBUTE_MSG}"
              Style="{StaticResource PartParam_TextBlock}"/>
    <EgtWPFLib5:EgtTextBox Text="{Binding Tag.sUSERATTRIBUTE, UpdateSourceTrigger=PropertyChanged,
                                         RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}}}"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_TextBox}"/>-->
   </UniformGrid>

      <GroupBox Style="{DynamicResource GroupBoxStyle_NoHeader}" Grid.Row="1" Margin="0,55">
      <Grid Margin="0,5,0,0">
         <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="1*"/>
         </Grid.ColumnDefinitions>
         <Grid.RowDefinitions>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="1*"/>
         </Grid.RowDefinitions>
         <TextBlock Text="{Binding COLOUR_MSG}"
                    Grid.Row="0"
              Style="{StaticResource PartParam_TextBlock}"/>
         <Button Background="{Binding Tag.PartColour, UpdateSourceTrigger=PropertyChanged,
                                        RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}}}"
           Command="{Binding Tag.PartColour_Command, UpdateSourceTrigger=PropertyChanged,
                                        RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}}}"
                 Grid.Row="0"
                 Grid.Column="1"
           Width="100"
           Style="{StaticResource ToolBar_SmallButton}"/>
         <TextBlock Text="{Binding TRANSPARENCY_MSG}"
                    Grid.Row="1"
              Style="{StaticResource PartParam_TextBlock}"/>
         <EgtWPFLib5:EgtTextBox Text="{Binding Tag.nCOLA, UpdateSourceTrigger=Explicit,
                                         RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}}}"
                                Grid.Row="1"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_TextBox}"/>
      </Grid>
   </GroupBox>

      <UniformGrid Grid.Column="1" Columns="2" Margin="0,0,0,-45">
      <TextBlock Text="{Binding TIMBERGRADE_MSG}"
              Style="{StaticResource PartParam_TextBlock}"/>
      <EgtWPFLib5:EgtTextBox Text="{Binding Tag.sTIMBERGRADE, UpdateSourceTrigger=Explicit,
                                         RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}}}"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_TextBox}"/>
      <TextBlock Text="{Binding QUALITYGRADE_MSG}"
              Style="{StaticResource PartParam_TextBlock}"/>
      <EgtWPFLib5:EgtTextBox Text="{Binding Tag.sQUALITYGRADE, UpdateSourceTrigger=Explicit,
                                         RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}}}"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_TextBox}"/>
      <TextBlock Text="{Binding PACKAGE_MSG}"
              Style="{StaticResource PartParam_TextBlock}"/>
      <EgtWPFLib5:EgtTextBox Text="{Binding Tag.sPACKAGE, UpdateSourceTrigger=Explicit,
                                         RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}}}"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_TextBox}"/>
      <TextBlock Text="{Binding ASSEMBLYNUM_MSG}"
              Style="{StaticResource PartParam_TextBlock}"/>
      <EgtWPFLib5:EgtTextBox Text="{Binding Tag.sASSEMBLYNUM, UpdateSourceTrigger=Explicit,
                                         RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}}}"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_TextBox}"/>
      <TextBlock Text="{Binding ELEMENTNUM_MSG}"
              Style="{StaticResource PartParam_TextBlock}"/>
      <EgtWPFLib5:EgtTextBox Text="{Binding Tag.sELEMENTNUM, UpdateSourceTrigger=Explicit,
                                         RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}}}"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_TextBox}"/>
      <TextBlock Text="{Binding MODULENUM_MSG}"
              Style="{StaticResource PartParam_TextBlock}"/>
      <EgtWPFLib5:EgtTextBox Text="{Binding Tag.sMODULENUM, UpdateSourceTrigger=Explicit,
                                         RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}}}"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_TextBox}"/>
      <TextBlock Text="{Binding PROCESSINGQUALITY_MSG}"
              Style="{StaticResource PartParam_TextBlock}"/>
   <ComboBox ItemsSource="{Binding RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}},
                                        Path=Tag.ocPROCESSINGQUALITY,
                                        Mode=OneWay}"
              SelectedIndex="{Binding RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}},
                                        Path=Tag.SelPROCESSINGQUALITY,
                                        Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_ComboBox}"/>
   <TextBlock Text="{Binding RECESS_MSG}"
              Style="{StaticResource PartParam_TextBlock}"/>
   <ComboBox ItemsSource="{Binding RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}},
                                        Path=Tag.ocRECESS,
                                        Mode=OneWay}"
              SelectedIndex="{Binding RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}},
                                        Path=Tag.SelRECESS,
                                        Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_ComboBox}"/>
   <TextBlock Text="{Binding STOREYTYPE_MSG}"
              Style="{StaticResource PartParam_TextBlock}"/>
   <ComboBox ItemsSource="{Binding RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}},
                                        Path=Tag.ocSTOREYTYPE,
                                        Mode=OneWay}"
              SelectedIndex="{Binding RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}},
                                        Path=Tag.SelSTOREYTYPE,
                                        Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_ComboBox}"/>
      <TextBlock Text="{Binding LAYER_MSG}"
              Style="{StaticResource PartParam_TextBlock}"/>
      <EgtWPFLib5:EgtTextBox Text="{Binding Tag.nLAYER, UpdateSourceTrigger=Explicit,
                                         RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}}}"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_TextBox}"/>
      <TextBlock Text="{Binding COMMENT_MSG}"
              Style="{StaticResource PartParam_TextBlock}"/>
         <EgtWPFLib5:EgtTextBox Text="{Binding Tag.sCOMMENT, UpdateSourceTrigger=Explicit,
                                         RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}}}"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_TextBox}"/>
      </UniformGrid>

      <GroupBox Style="{DynamicResource GroupBoxStyle_NoHeader}" Grid.Row="1" Grid.Column="1" Margin="0,55">
         <Grid Margin="0,5,0,0">
            <Grid.ColumnDefinitions>
               <ColumnDefinition Width="1*"/>
               <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
               <RowDefinition Height="1*"/>
               <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>
            <TextBlock Text="{Binding REFSIDE_MSG}"
              Style="{StaticResource PartParam_TextBlock}"/>
            <ComboBox ItemsSource="{Binding RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}},
                                        Path=Tag.ocREFSIDE,
                                        Mode=OneWay}"
              SelectedIndex="{Binding RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}},
                                        Path=Tag.SelREFSIDE,
                                        Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_ComboBox}"/>
            <TextBlock Text="{Binding REFSIDEALIGN_MSG}"
                       Grid.Row="1"
              Style="{StaticResource PartParam_TextBlock}"/>
            <CheckBox IsChecked="{Binding RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}},
                                        Path=Tag.bREFSIDEALIGN,
                                        Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
              HorizontalAlignment="Center"
              VerticalAlignment="Center"
                      Grid.Row="1"
                          Grid.Column="1"/>
         </Grid>
      </GroupBox>


         <Grid Grid.Row="0" Grid.Column="2" Grid.RowSpan="2">
            <Grid.ColumnDefinitions>
               <ColumnDefinition Width="1*"/>
               <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
               <RowDefinition Height="1*"/>
               <RowDefinition Height="1*"/>
               <RowDefinition Height="1*"/>
               <RowDefinition Height="1*"/>
               <RowDefinition Height="1*"/>
               <RowDefinition Height="1*"/>
               <RowDefinition Height="1*"/>
               <RowDefinition Height="1*"/>
               <RowDefinition Height="1*"/>
               <RowDefinition Height="1*"/>
               <RowDefinition Height="1*"/>
               <RowDefinition Height="1*"/>
               <RowDefinition Height="1*"/>
               <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>
         <GroupBox Style="{DynamicResource GroupBoxStyle_NoHeader}" Grid.Row="0" Grid.RowSpan="2" Grid.ColumnSpan="2">
            <Grid>
               <Grid.ColumnDefinitions>
                  <ColumnDefinition Width="1*"/>
                  <ColumnDefinition Width="1*"/>
               </Grid.ColumnDefinitions>
               <Grid.RowDefinitions>
                  <RowDefinition Height="1*"/>
                  <RowDefinition Height="1*"/>
               </Grid.RowDefinitions>
               <TextBlock Text="{Binding GRAINDIRECTION_MSG}"
              Style="{StaticResource PartParam_TextBlock}"/>
               <EgtWPFLib5:EgtTextBox Text="{Binding Tag.GrainDirection, UpdateSourceTrigger=Explicit,
                                         RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}}}"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_TextBox}"/>
               <TextBlock Text="{Binding GRAINDIRALIGN_MSG}"
                       Grid.Row="1"
              Style="{StaticResource PartParam_TextBlock}"/>
               <CheckBox IsChecked="{Binding RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}},
                                        Path=Tag.bGRAINDIRALIGN,
                                        Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
              HorizontalAlignment="Center"
              VerticalAlignment="Center"
                      Grid.Row="1"
                          Grid.Column="1"
                         Margin="0,5"/>
            </Grid>
         </GroupBox>
         <GroupBox Style="{DynamicResource GroupBoxStyle_NoHeader}" Grid.Row="2" Grid.RowSpan="2" Grid.ColumnSpan="2">
            <Grid Margin="0,5,0,0">
               <Grid.ColumnDefinitions>
                  <ColumnDefinition Width="1*"/>
                  <ColumnDefinition Width="1*"/>
               </Grid.ColumnDefinitions>
               <Grid.RowDefinitions>
                  <RowDefinition Height="1*"/>
                  <RowDefinition Height="1*"/>
               </Grid.RowDefinitions>
               <TextBlock Text="{Binding CAMBERSIDE_MSG}"
              Style="{StaticResource PartParam_TextBlock}"/>
               <ComboBox ItemsSource="{Binding RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}},
                                        Path=Tag.ocCAMBERSIDE,
                                        Mode=OneWay}"
              SelectedIndex="{Binding RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}},
                                        Path=Tag.SelCAMBERSIDE,
                                        Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_ComboBox}"/>
               <TextBlock Text="{Binding CAMBERPARAMS_MSG}"
                          Grid.Row="1"
              Style="{StaticResource PartParam_TextBlock}"/>
               <EgtWPFLib5:EgtTextBox Text="{Binding Tag.CamberParams, UpdateSourceTrigger=Explicit,
                                         RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}}}"
                                      Grid.Row="1"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_TextBox}"/>
            </Grid>
         </GroupBox>
         <GroupBox Style="{DynamicResource GroupBoxStyle_NoHeader}" Grid.Row="4" Grid.RowSpan="2" Grid.ColumnSpan="2">
            <Grid Margin="0,5,0,0">
            <Grid.ColumnDefinitions>
               <ColumnDefinition Width="1*"/>
               <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
               <RowDefinition Height="1*"/>
               <RowDefinition Height="1*"/>
            </Grid.RowDefinitions>
            <TextBlock Text="{Binding REFSIDEFIXCLAMP_MSG}"
              Style="{StaticResource PartParam_TextBlock}"/>
      <ComboBox ItemsSource="{Binding RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}},
                                        Path=Tag.ocREFSIDEFIXCLAMP,
                                        Mode=OneWay}"
              SelectedIndex="{Binding RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}},
                                        Path=Tag.SelREFSIDEFIXCLAMP,
                                        Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_ComboBox}"/>
      <TextBlock Text="{Binding PARTOFFSETPARAMS_MSG}"
                 Grid.Row="1"
              Style="{StaticResource PartParam_TextBlock}"/>
      <EgtWPFLib5:EgtTextBox Text="{Binding Tag.PartOffsetParams, UpdateSourceTrigger=Explicit,
                                         RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}}}"
                             Grid.Row="1"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_TextBox}"/>
            </Grid>
         </GroupBox>
         <GroupBox Style="{DynamicResource GroupBoxStyle_NoHeader}" Grid.Row="6" Grid.RowSpan="2" Grid.ColumnSpan="2">
            <Grid Margin="0,5,0,0">
               <Grid.ColumnDefinitions>
                  <ColumnDefinition Width="1*"/>
                  <ColumnDefinition Width="1*"/>
               </Grid.ColumnDefinitions>
               <Grid.RowDefinitions>
                  <RowDefinition Height="1*"/>
                  <RowDefinition Height="1*"/>
               </Grid.RowDefinitions>
               <TextBlock Text="{Binding MATERIALTYPEGRP_MSG}"
              Style="{StaticResource PartParam_TextBlock}"/>
      <ComboBox ItemsSource="{Binding RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}},
                                        Path=Tag.ocMATERIALTYPEGRP,
                                        Mode=OneWay}"
              SelectedIndex="{Binding RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}},
                                        Path=Tag.SelMATERIALTYPEGRP,
                                        Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_ComboBox}"/>
      <TextBlock Text="{Binding MATERIALTYPESPEC_MSG}"
                 Grid.Row="1"
              Style="{StaticResource PartParam_TextBlock}"/>
      <EgtWPFLib5:EgtTextBox Text="{Binding Tag.sMATERIALTYPESPEC, UpdateSourceTrigger=Explicit,
                                         RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}}}"
                             Grid.Row="1"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_TextBox}"/>
            </Grid>
         </GroupBox>
         <GroupBox Style="{DynamicResource GroupBoxStyle_NoHeader}" Grid.Row="8" Grid.RowSpan="2" Grid.ColumnSpan="2">
            <Grid Margin="0,5,0,0">
               <Grid.ColumnDefinitions>
                  <ColumnDefinition Width="1*"/>
                  <ColumnDefinition Width="1*"/>
               </Grid.ColumnDefinitions>
               <Grid.RowDefinitions>
                  <RowDefinition Height="1*"/>
                  <RowDefinition Height="1*"/>
               </Grid.RowDefinitions>
               <TextBlock Text="{Binding ALIGNLOCATION_MSG}"
              Style="{StaticResource PartParam_TextBlock}"/>
      <ComboBox ItemsSource="{Binding RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}},
                                        Path=Tag.ocALIGNLOCATION,
                                        Mode=OneWay}"
              SelectedIndex="{Binding RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}},
                                        Path=Tag.SelALIGNLOCATION,
                                        Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_ComboBox}"/>
      <TextBlock Text="{Binding ALIGNENDTYPE_MSG}"
                 Grid.Row="1"
              Style="{StaticResource PartParam_TextBlock}"/>
      <ComboBox ItemsSource="{Binding RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}},
                                        Path=Tag.ocALIGNENDTYPE,
                                        Mode=OneWay}"
              SelectedIndex="{Binding RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}},
                                        Path=Tag.SelALIGNENDTYPE,
                                        Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                Grid.Row="1"
                          Grid.Column="1"
                Margin="0,5"
                          Style="{StaticResource PartParam_ComboBox}"/>
            </Grid>
         </GroupBox>
         <GroupBox Style="{DynamicResource GroupBoxStyle_NoHeader}" Grid.Row="10" Grid.RowSpan="4" Grid.ColumnSpan="2">
            <Grid Margin="0,5,0,0">
               <Grid.ColumnDefinitions>
                  <ColumnDefinition Width="1*"/>
                  <ColumnDefinition Width="1*"/>
               </Grid.ColumnDefinitions>
               <Grid.RowDefinitions>
                  <RowDefinition Height="1*"/>
                  <RowDefinition Height="1*"/>
                  <RowDefinition Height="1*"/>
                  <RowDefinition Height="1*"/>
               </Grid.RowDefinitions>
               <TextBlock Text="{Binding UID_MSG}"
              Style="{StaticResource PartParam_TextBlock}"/>
      <ComboBox ItemsSource="{Binding RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}},
                                       Path=Tag.ocUID,
                                       Mode=OneWay}"
             SelectedIndex="{Binding RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}},
                                       Path=Tag.SelUID,
                                       Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                         Grid.Column="1"
                         Style="{StaticResource PartParam_ComboBox}"/>
      <TextBlock Text="{Binding TRANSFORIG_MSG}"
                 Grid.Row="1"
              Style="{StaticResource PartParam_TextBlock}"/>
      <EgtWPFLib5:EgtTextBox Text="{Binding Tag.TransfOrig, UpdateSourceTrigger=Explicit,
                                         RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}}}"
                             Grid.Row="1"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_TextBox}"/>
      <TextBlock Text="{Binding TRANSFVERSX_MSG}"
                 Grid.Row="2"
              Style="{StaticResource PartParam_TextBlock}"/>
      <EgtWPFLib5:EgtTextBox Text="{Binding Tag.TransfVersX, UpdateSourceTrigger=Explicit,
                                         RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}}}"
                             Grid.Row="2"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_TextBox}"/>
      <TextBlock Text="{Binding TRANSFVERSY_MSG}"
                 Grid.Row="3"
              Style="{StaticResource PartParam_TextBlock}"/>
      <EgtWPFLib5:EgtTextBox Text="{Binding Tag.TransfVersY, UpdateSourceTrigger=Explicit,
                                         RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:PartParametersV}}}"
                             Grid.Row="3"
                          Grid.Column="1"
                          Style="{StaticResource PartParam_TextBox}"/>
            </Grid>
         </GroupBox>

            </Grid>

   </Grid>
</UniformGrid>
