<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"
           xmlns:EgtBEAMWALL="clr-namespace:EgtBEAMWALL.ViewerOptimizer"
           xmlns:WebView="clr-namespace:Microsoft.Web.WebView2.Wpf;assembly=Microsoft.Web.WebView2.Wpf"
           DataContext="{StaticResource ConfigurationPageVM}">

   <Grid>
      <Grid.ColumnDefinitions>
         <ColumnDefinition Width="1*"/>
         <ColumnDefinition Width="10*"/>
      </Grid.ColumnDefinitions>
      <Grid.RowDefinitions>
         <RowDefinition Height="1*"/>
         <RowDefinition Height="6*"/>
      </Grid.RowDefinitions>
      <TabControl Grid.Row="0" Grid.Column="0" 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 ParameterQ_Msg}"
                             FontSize="15"/>
                  <Button Command="{Binding SaveCommand}"
                          ToolTip="{Binding SaveToolTip}"
                          Visibility="{Binding ParameterQ_Visibility}"
                          Style="{StaticResource SaveOptionPanel_Button}">
                     <Image Source="/Resources/ProjectManager/Save.png" Stretch="Uniform"/>
                  </Button>
               </StackPanel>
            </TabItem.Header>
            <TabItem.Content>
               <EgtBEAMWALLCORE:OnlyProdQParameter_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>
         <TabItem>
            <TabItem.Header>
               <StackPanel Orientation="Horizontal" Margin="5">
                  <TextBlock Text="{Binding PDFEditor_Msg}"
                             FontSize="15"/>
                  <Button Command="{Binding SaveCommand}"
                          ToolTip="{Binding SaveToolTip}"
                          Visibility="{Binding PDFEditor_Visibility}"
                          Style="{StaticResource SaveOptionPanel_Button}">
                     <Image Source="/Resources/ProjectManager/Save.png" Stretch="Uniform"/>
                  </Button>
               </StackPanel>
            </TabItem.Header>
            <TabItem.Content>
               <EgtBEAMWALL:OnlyProdPDFEditorV/>
            </TabItem.Content>
         </TabItem>
         <TabItem>
            <TabItem.Header>
               <StackPanel Orientation="Horizontal" Margin="5">
                  <TextBlock Text="{Binding CtrlVersion_Msg}"
                             FontSize="15"/>
               </StackPanel>
            </TabItem.Header>
            <TabItem.Content>
               <EgtBEAMWALL:OnlyProdCheckVersionV/>
            </TabItem.Content>
         </TabItem>
      </TabControl>
   </Grid>
</DockPanel>
