Files
EgtCAM5/ProjectPage/OptionPanel/DrawOptionPanel/InputExpander/InputExpanderView.xaml
T
Emmanuele Sassi 550057bf06 EgtCAM5 :
- modifiche varie.
2016-07-06 18:33:16 +00:00

27 lines
1.3 KiB
XML

<UserControl x:Class="InputExpanderView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Expander Header="{Binding Title}" IsExpanded="{Binding IsExpanded}" IsEnabled="{Binding }" Grid.Row="2">
<StackPanel>
<StackPanel.Style>
<Style>
<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 TextBlock}"/>
<TextBox Text="{Binding TextBox}"/>
<CheckBox Content="{Binding CheckBoxText}" IsChecked="{Binding IsChecked}"/>
<ComboBox ItemsSource="{Binding ComboItemsList}" SelectedIndex="{Binding ComboSelectedIndex}"/>
<UniformGrid>
<Button Command="{Binding}" Visibility="{Binding ShowVisibility}" Content="Show" Style="{StaticResource EgtCAM5_Button}"/>
<Button Command="{Binding DoneCommand}" Content="Done" Style="{StaticResource EgtCAM5_Button}"/>
</UniformGrid>
</StackPanel>
</Expander>
</UserControl>