<DockPanel x:Class="ConfigurationPageV"
           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.Row="0" Grid.Column="0" Grid.RowSpan="2" Grid.ColumnSpan="2"
                  SelectedIndex="{Binding SelConfigSubPage}">
         <TabItem>
            <TabItem.Header>
               <StackPanel Orientation="Horizontal">
                  <TextBlock Text="{Binding General_Msg}"
                             Style="{StaticResource OptionTextBlock}"/>
                  <Button Command="{Binding SaveCommand}"
                          ToolTip="{Binding SaveToolTip}"
                          Visibility="{Binding General_Visibility}"
                          Style="{StaticResource OptionPanel_Button}">
                     <Image Source="/Resources/ProjectManager/Save.png" Stretch="Uniform"/>
                  </Button>
               </StackPanel>
            </TabItem.Header>
            <TabItem.Content>
               <EgtBEAMWALLCORE:General_ConfigurationPageV/>
            </TabItem.Content>
         </TabItem>
         <TabItem>
            <TabItem.Header>
               <TextBlock Text="{Binding Machine_Msg}"
                          Style="{StaticResource OptionTextBlock}"/>
            </TabItem.Header>
            <TabItem.Content>
               <EgtBEAMWALLCORE:Machine_ConfigurationPageV/>
            </TabItem.Content>
         </TabItem>
      </TabControl>

   </Grid>
</DockPanel>
