<UserControl x:Class="OnlyProdFreeContourInputV"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             Height="32">
   
   <StackPanel>
      <StackPanel.Style>
         <Style TargetType="{x:Type StackPanel}">
            <Setter Property="Orientation" Value="Horizontal"/>
            <Style.Triggers>
               <DataTrigger Binding="{Binding FocusTextBox}" Value="True">
                  <Setter Property="FocusManager.FocusedElement" Value="{Binding ElementName=PropertySearch}"/>
               </DataTrigger>
            </Style.Triggers>
         </Style>
      </StackPanel.Style>
      
      <TextBlock Text="{Binding Message}"
                 Visibility="{Binding Message_Visibility}"
                 Style="{StaticResource OptionTextBlock}"/>
      <TextBox Text="{Binding Text, UpdateSourceTrigger=PropertyChanged}"
               Visibility="{Binding Text_Visibility}" 
               Style="{StaticResource FreeContour_TextBox}">
         <TextBox.InputBindings>
            <KeyBinding Key="Enter" Command="{Binding Done_Command, UpdateSourceTrigger=PropertyChanged}"/>
            <KeyBinding Key="S" Modifiers="Control" Command="{Binding Show_Command}"/>
         </TextBox.InputBindings>
      </TextBox>
      <CheckBox Content="{Binding CheckBoxText}" 
                IsChecked="{Binding IsChecked}"
                Visibility="{Binding Check_Visibility}" 
                Style="{StaticResource FreeContourInput_CheckBox}"/>
      <ComboBox ItemsSource="{Binding ComboItemsList}" 
                SelectedIndex="{Binding ComboSelectedIndex}"
                Visibility="{Binding Combo_Visibility}" 
                Margin="5,0,5,0"/>
      <Grid Margin="5,0,5,0">
         <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="1*"/>
         </Grid.ColumnDefinitions>
         <Button Command="{Binding Show_Command}" 
                 Visibility="{Binding ShowBtn_Visibility}"
                 Content="{Binding ShowMsg}" 
                 Style="{StaticResource GeneralConfigurationToolBar_TextButton}"/>
         <Button Grid.Column="1"
                 Command="{Binding Done_Command}" 
                 Visibility="{Binding DoneBtn_Visibility}"
                 Content="{Binding OkMsg}" 
                 Style="{StaticResource GeneralConfigurationToolBar_TextButton}"/>
      </Grid>
   </StackPanel>
</UserControl>
