<TabControl x:Class="ProdProjManagerV"
            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            xmlns:EgtBEAMWALL="clr-namespace:EgtBEAMWALL.ViewerOptimizer"
            DataContext="{StaticResource ProdProjManagerVM}"
            SelectedIndex="{Binding SelProdProj}">
   <TabControl.Background>
      <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.35,0">
         <GradientStop Color="{StaticResource BeamWall_Mercury_Color}" Offset="0"/>
         <GradientStop Color="{StaticResource BeamWall_Concrete_Color}" Offset="0.45"/>
         <GradientStop Color="{StaticResource BeamWall_White_Color}" Offset="1"/>
      </LinearGradientBrush>
   </TabControl.Background>

   <TabControl.ItemContainerStyle>
      <Style TargetType="{x:Type TabItem}">
         <Setter Property="Visibility" Value="Collapsed"/>
      </Style>
   </TabControl.ItemContainerStyle>
   <TabItem Header="NULL"/>
   
   <TabItem Header="PROJ">

      <EgtBEAMWALL:ProjWndV DataContext="{Binding ProjectVM}"
                            Tag="{Binding Tag, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:ProdProjManagerV}}}"/>

   </TabItem>
   <TabItem Header="PROD">

      <EgtBEAMWALL:ProdWndV DataContext="{Binding ProjectVM}"
                            Tag="{Binding Tag, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:ProdProjManagerV}}}"/>

   </TabItem>
</TabControl>
