<EgtWPFLib5:EgtCustomWindow x:Class="OnlyProdMainWindowV"
                            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                            xmlns:EgtBEAMWALL="clr-namespace:EgtBEAMWALL.ViewerOptimizer"
                            xmlns:EgtWPFLib5="clr-namespace:EgtWPFLib5;assembly=EgtWPFLib5"
                            DataContext="{StaticResource MainWindowVM}"
                            Style="{StaticResource OnlyProd_EgtCustomWindow}"
                            Title="{Binding Title}" Icon="/Resources/EgtBEAMWALL.ico"
                            MinHeight="600" MinWidth="800"
                            AboutBoxCommand="{Binding AboutBoxCommand}" WindowStyle="None" ResizeMode="NoResize"
                            AllowDrop="True" Drop="MainWindowV_Drop"
                            ShowInTaskbar="True"
                            CloseCommand="{Binding CloseApplicationCommand,Mode=OneWay,UpdateSourceTrigger=PropertyChanged}">
   <EgtWPFLib5:EgtCustomWindow.TitlePanel>
      <EgtBEAMWALL:OnlyProdMainMenuV DataContext="{StaticResource MainMenuVM}"/>
   </EgtWPFLib5:EgtCustomWindow.TitlePanel>

   <!--Pannello principale -->
   <DockPanel>

      <!--StatusBar -->
      <EgtBEAMWALL:StatusBarV DataContext="{StaticResource StatusBarVM}"
                              DockPanel.Dock="Bottom"/>
      <!--Progetto corrente-->
      <TabControl SelectedIndex="{Binding nSelTabPage}"
                  Padding="0"
                  Margin="0,-4,0,0">
         <TabControl.ItemContainerStyle>
            <Style TargetType="{x:Type TabItem}">
               <Setter Property="Visibility" Value="Collapsed"/>
            </Style>
         </TabControl.ItemContainerStyle>
         <TabItem>
            <ContentControl Content="{Binding ProjectContent}"/>
         </TabItem>
         <TabItem>
            <ContentControl Content="{Binding ConfigurationPageContent}"/>
         </TabItem>
      </TabControl>

   </DockPanel>
</EgtWPFLib5:EgtCustomWindow>
