<DockPanel x:Class="OnlyProdConfigurationPageV"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
           xmlns:EgtBEAMWALLCORE="clr-namespace:EgtBEAMWALL.Core;assembly=EgtBEAMWALL.Core"
           DataContext="{StaticResource ConfigurationPageVM}">

   <Grid>
      <Grid.ColumnDefinitions>
         <ColumnDefinition Width="10*"/>
         <ColumnDefinition Width="1*"/>
      </Grid.ColumnDefinitions>
      <Grid.RowDefinitions>
         <RowDefinition Height="6*"/>
         <RowDefinition Height="1*"/>
      </Grid.RowDefinitions>
      <TabControl Grid.RowSpan="2" Grid.ColumnSpan="2"
                  SelectedIndex="{Binding SelConfigSubPage}"
                  Style="{StaticResource OnlyProd_TabControl}">
         <TabItem>
            <TabItem.Header>
               <StackPanel Orientation="Horizontal" Margin="5">
                  <TextBlock Text="{Binding General_Msg}"
                             FontSize="15"/>
                  <Button Command="{Binding SaveCommand}"
                          ToolTip="{Binding SaveToolTip}"
                          Visibility="{Binding General_Visibility}"
                          Style="{StaticResource SaveOptionPanel_Button}">
                     <Image Source="/Resources/ProjectManager/Save.png" Stretch="Uniform"/>
                  </Button>
               </StackPanel>
            </TabItem.Header>
            <TabItem.Content>
               <EgtBEAMWALLCORE:OnlyProdGeneral_ConfigurationPageV/>
            </TabItem.Content>
         </TabItem>
         <TabItem>
            <TabItem.Header>
               <StackPanel Orientation="Horizontal" Margin="5">
                  <TextBlock Text="{Binding Machine_Msg}"
                             FontSize="15"/>
               </StackPanel>
            </TabItem.Header>
            <TabItem.Content>
               <EgtBEAMWALLCORE:OnlyProdMachine_ConfigurationPageV/>
            </TabItem.Content>
         </TabItem>
      </TabControl>
   </Grid>
</DockPanel>
