<EgtFloating:EgtFloatingPanel x:Class="OnlyProdManagerV"
                              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                              xmlns:EgtFloating="clr-namespace:EgtWPFLib5.EgtFloating;assembly=EgtWPFLib5"
                              IsTopDockable="True" IsBottomDockable="False" IsLeftDockable="False"
                              IsRightDockable="False"
                              IsEnabled="{Binding OnlyProdManager_IsEnabled}"
                              Style="{StaticResource ToolBar_EgtFloatingPanel_OnlyProdManager}">

   <!--Barra superiore dei comandi-->
   <Button Command="{Binding New_Command}"
           ToolTip="{Binding NewToolTip}"
           Style="{StaticResource ToolBarOnlyProdManagerNew_Button}">
      <Image Source="/Resources/ProjectManager/New.png" Stretch="Uniform"/>
   </Button>
   <Button Command="{Binding OpenCommand}"
           ToolTip="{Binding OpenToolTip}"
           ContextMenuService.Placement="Bottom"
           Tag="{Binding}"
           Style="{StaticResource ToolBarOnlyProdManager_Button}">
      <Button.ContextMenu>
         <ContextMenu ItemsSource="{Binding MruFileNames}">
            <ContextMenu.Resources>
               <Style TargetType="{x:Type MenuItem}">
                  <Setter Property="Command"
                          Value="{Binding PlacementTarget.Tag.OpenMruFileCommand, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=ContextMenu}}" />
                  <Setter Property="CommandParameter" Value="{Binding}" />
               </Style>
            </ContextMenu.Resources>
         </ContextMenu>
      </Button.ContextMenu>
      <Image Source="/Resources/ProjectManager/Open.png" Stretch="Uniform"/>
   </Button>
   <Button Command="{Binding SaveCommand}"
           ToolTip="{Binding SaveToolTip}"
           Style="{StaticResource ToolBarOnlyProdManager_Button}">
      <Image Source="/Resources/ProjectManager/Save.png" Stretch="Uniform"/>
   </Button>
   <Button Command="{Binding AddProj_Command}"
           ToolTip="{Binding AddProj_ToolTip}"
           Visibility="{Binding AddProj_Visibility}"
           Style="{StaticResource ToolBarOnlyProdManager_Button}">
      <Image Source="/Resources/ProjectManager/AddProj.png" Stretch="Uniform"/>
   </Button>
   <Button Command="{Binding ImportBTL_Command}"
           ToolTip="{Binding ImportBTL_ToolTip}"
           Style="{StaticResource ToolBarOnlyProdManager_Button}">
      <Image Source="/Resources/ProjectManager/ImportBTL.png" Stretch="Uniform"/>
   </Button>
   <Button Command="{Binding UpdateBTL_Command}"
           ToolTip="{Binding UpdateBTL_ToolTip}"
           Visibility="{Binding UpdateBTL_Visibility}"
           Style="{StaticResource ToolBarOnlyProdManager_Button}">
      <Image Source="/Resources/ProjectManager/UpdateBTL.png" Stretch="Uniform"/>
   </Button>
   <Button Command="{Binding ExportProject_Command}"
           ToolTip="{Binding ExportProject_ToolTip}"
           Style="{StaticResource ToolBarOnlyProdManager_Button}">
      <Image Source="/Resources/ProjectManager/ExportProject.png" Stretch="Uniform"/>
   </Button>
   <Button Command="{Binding ImportProject_Command}"
           ToolTip="{Binding ImportProject_ToolTip}"
           Style="{StaticResource ToolBarOnlyProdManager_Button}">
      <Image Source="/Resources/ProjectManager/ImportProject.png" Stretch="Uniform"/>
   </Button>
   <Button Command="{Binding GoToSupervisor_Command}"
           ToolTip="{Binding GoToSupervisor_ToolTip}"
           Visibility="{Binding GoToSupervisor_Visibility}"
           Style="{StaticResource ToolBarOnlyProdManagerGoToSupervisor_Button}">
      <Image Source="/Resources/ProjectManager/GoToProd.png" Stretch="Uniform"/>
   </Button>
</EgtFloating:EgtFloatingPanel>
