<Grid x:Class="OnlyProdFeatureManagerV"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:EgtWPFLib5="clr-namespace:EgtWPFLib5;assembly=EgtWPFLib5"
      xmlns:EgtBEAMWALL="clr-namespace:EgtBEAMWALL.ViewerOptimizer"
      Margin="30,4,0,2">
   
   <Grid.ColumnDefinitions>
      <ColumnDefinition Width="Auto"/>
      <ColumnDefinition Width="Auto"/>
      <ColumnDefinition Width="Auto"/>
      <ColumnDefinition Width="Auto"/>
      <ColumnDefinition Width="Auto"/>
      <ColumnDefinition Width="Auto"/>
      <ColumnDefinition Width="Auto"/>
      <ColumnDefinition Width="Auto"/>
   </Grid.ColumnDefinitions>

   <Expander Header="{Binding Face_Msg}"
             IsEnabled="{Binding FeatureManager_IsEnabled}"
             Width="80">
      <ListBox ItemsSource="{Binding Tag.SIDEList, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdFeatureManagerV}}}"
               SelectedItem="{Binding Tag.nSelSIDE, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdFeatureManagerV}}}"
               IsEnabled="{Binding FeatureManager_IsEnabled}"
               Style="{StaticResource FeatureManager_ListBox}"
               ItemContainerStyle="{StaticResource AlternationIndex_ListBoxItem}"/>
   </Expander>
   <Expander Grid.Column="1"
             Header="{Binding Group_Msg}"
             IsEnabled="{Binding FeatureManager_IsEnabled}"
             Width="80">
      <ListBox ItemsSource="{Binding Tag.GRPList, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdFeatureManagerV}}}"
               SelectedItem="{Binding Tag.nSelGRP, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdFeatureManagerV}}}"
               IsEnabled="{Binding FeatureManager_IsEnabled}"
               Style="{StaticResource FeatureManager_ListBox}"
               ItemContainerStyle="{StaticResource AlternationIndex_ListBoxItem}"/>
   </Expander>
   <TextBlock Grid.Column="2"
              Text="{Binding Priority_Msg}"
              IsEnabled="{Binding FeatureManager_IsEnabled}"
              Visibility="{Binding Priority_Visibility}"
              Style="{StaticResource OptionTextBlock}"/>
   <EgtWPFLib5:EgtTextBox Grid.Column="3"
                          Text="{Binding Tag.sPriority, 
                                         RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdFeatureManagerV}},
                                         UpdateSourceTrigger=Explicit}"
                          IsEnabled="{Binding FeatureManager_IsEnabled}"
                          Visibility="{Binding Priority_Visibility}"
                          Style="{StaticResource Dimension_TextBox}"/>
   <TextBlock Grid.Column="4"
              Text="{Binding Tag.sName, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdFeatureManagerV}}}"
              Style="{StaticResource OnlyProdFeatureManager_OnlyProd}"/>
   <Button Grid.Column="5"
           Content="{Binding Edit_Msg}"
           Command="{Binding Tag.Edit_Command, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdFeatureManagerV}}}"
           Visibility="{Binding Tag.Edit_Visibility, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdFeatureManagerV}}}"
           IsEnabled="{Binding Edit_IsEnabled}"
           Style="{StaticResource GeneralConfigurationToolBar_TextButton}"/>
   <Button Grid.Column="6"
           Content="{Binding Save_Msg}"
           Command="{Binding Tag.Save_Command, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdFeatureManagerV}}}"
           Visibility="{Binding Tag.SaveCancel_Visibility, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdFeatureManagerV}}}"
           Style="{StaticResource GeneralConfigurationToolBar_TextButton}"/>
   <Button Grid.Column="7"
           Content="{Binding Cancel_Msg}"
           Command="{Binding Tag.Cancel_Command, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdFeatureManagerV}}}"
           Visibility="{Binding Tag.SaveCancel_Visibility, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdFeatureManagerV}}}"
           Style="{StaticResource GeneralConfigurationToolBar_TextButton}"/>

</Grid>
