58 lines
3.2 KiB
XML
58 lines
3.2 KiB
XML
<UserControl
|
|
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
|
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
|
|
Height="Auto" Width="Auto" HorizontalAlignment="Stretch"
|
|
VerticalAlignment="Stretch" Focusable="True"
|
|
xmlns:val="clr-namespace:BeWo.Validation"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:clientPartials="clr-namespace:BS.Shared.DataContracts.ClientPartials;assembly=BS.Shared"
|
|
x:Class="BeWo.View.Detail.Report.IcfImportControl"
|
|
d:DesignHeight="500" d:DesignWidth="1000"
|
|
mc:Ignorable="d">
|
|
<Grid Background="{StaticResource ObjectEditBackgroundBrush}">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*" />
|
|
<ColumnDefinition Width="Auto" />
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*" />
|
|
<RowDefinition Height="Auto" />
|
|
</Grid.RowDefinitions>
|
|
<GroupBox Grid.ColumnSpan="2" Style="{StaticResource ObjectEditGroupBox}">
|
|
<TreeView x:Name="TreeView" Margin="3" Padding="0 5 10 5"
|
|
ItemTemplate="{DynamicResource TreeItemTemplate}"
|
|
ItemContainerStyle="{DynamicResource TreeViewStyle}"
|
|
>
|
|
|
|
<TreeView.Resources>
|
|
<Style x:Key="TreeViewStyle" TargetType="TreeViewItem">
|
|
<Setter Property="IsExpanded" Value="{Binding Path=IsExpanded, Mode=TwoWay}" />
|
|
</Style>
|
|
<HierarchicalDataTemplate x:Key="TreeItemTemplate" DataType="{x:Type clientPartials:SupportConceptGoalDC}" ItemsSource="{Binding Path=Children}">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto" />
|
|
<ColumnDefinition Width="Auto" />
|
|
<ColumnDefinition Width="Auto" />
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
<CheckBox IsChecked="{Binding Path=IsChecked, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" Margin="0, 4, 2, 0"/>
|
|
<TextBox Grid.Row="0" Grid.Column="1" Background="Transparent" Height="21" Padding="0, 3, 0, 0" VerticalAlignment="Center" BorderThickness="0"
|
|
IsReadOnly="True" Text="{Binding Path=GoalEntryDC.TypeDescription}" FontWeight="Bold"/>
|
|
<TextBox Grid.Column="1" Grid.Row="1" Visibility="{Binding Path=HasNotice, Converter={StaticResource BoolVisibilityConverter}}" Background="Transparent" Padding="3,1,0,0" VerticalAlignment="Center" BorderThickness="0"
|
|
IsReadOnly="True" Text="{Binding Path=GoalEntryDC.Notice}" />
|
|
</Grid>
|
|
</HierarchicalDataTemplate>
|
|
</TreeView.Resources>
|
|
</TreeView>
|
|
</GroupBox>
|
|
<Button x:Name="ButtonImport" Grid.Row="1" Grid.Column="1" Content="Importieren" Margin="0, 0, 6, 3" Click="ButtonImport_Click" />
|
|
</Grid>
|
|
</UserControl>
|