<UserControl x:Class="FreeContourInputV"
             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"
             Height="32">

   <StackPanel Orientation="Horizontal">
      <StackPanel.Style>
         <Style TargetType="{x:Type StackPanel}">
            <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}"
               Width="200"
               Visibility="{Binding Text_Visibility}" Margin="5,0,5,0"
               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}" Margin="5,0,5,0"
                VerticalAlignment="Center"/>
      <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 EgtWPFLib5_InputButton}"/>
         <Button Command="{Binding Done_Command}" Visibility="{Binding DoneBtn_Visibility}"
                 Grid.Column="1"
               Content="{Binding OkMsg}" Style="{StaticResource EgtWPFLib5_InputButton}"/>
      </Grid>
   </StackPanel>
</UserControl>
