<StackPanel x:Class="MainMenuV"
            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            Orientation="Horizontal"
            IsEnabled="{Binding MainMenu_IsEnabled}">
   
   <!--Barra superiore dei comandi-->
   <UniformGrid Rows="1">
      <Button Content="{Binding Viewer_Msg}"
                   Command="{Binding Viewer_Command}"
                   Style="{StaticResource MainMenu_Button}"/>
      <Button Content="{Binding Optimizer_Msg}"
                   Command="{Binding Optimizer_Command}"
                   Style="{StaticResource MainMenu_Button}"/>
      <RadioButton Content="{Binding Supervisor_Msg}"
                   IsChecked="{Binding Supervisor_IsChecked}"
                   Style="{StaticResource MainMenu_ToggleButton}"/>
      <RadioButton Content="{Binding Inputs_Msg}"
                   IsChecked="{Binding Inputs_IsChecked}"
                   Visibility="{Binding Inputs_Visibility}"
                   Style="{StaticResource MainMenu_ToggleButton}"/>
      <RadioButton Content="{Binding Outputs_Msg}"
                   IsChecked="{Binding Outputs_IsChecked}"
                   Visibility="{Binding Outputs_Visibility}"
                   Style="{StaticResource MainMenu_ToggleButton}"/>
      <RadioButton Content="{Binding Configuration_Msg}"
                   IsChecked="{Binding Config_IsChecked}"
                   Style="{StaticResource MainMenu_ToggleButton}"/>
    </UniformGrid>

</StackPanel>

