Files
BeWoPlaner/BeWo/View/Controls/BehinderungsartenSelectionControl.xaml
Rene Evertz 6f12c06078 Styles nur in PrototypeStyles.xaml
CustomerVermittlungArbeitView Control anpassungen
Xaml
2024-09-11 12:05:11 +02:00

59 lines
2.3 KiB
XML

<UserControl
x:Class="BeWo.View.Controls.BehinderungsartenSelectionControl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
d:DesignHeight="300"
d:DesignWidth="300"
mc:Ignorable="d">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<ListBox
x:Name="listbox_result"
Grid.Row="0"
Background="{DynamicResource ObjectEditBackgroundBrush}"
ItemsSource="{Binding Path=PossibleBehinderungsarten}">
<ListBox.ItemTemplate>
<DataTemplate>
<Grid>
<Border
Height="23"
BorderBrush="{x:Null}"
CornerRadius="5">
<CheckBox
Margin="6,0,0,0"
VerticalAlignment="Center"
Checked="BehinderungsartCB_OnChecked"
Content="{Binding Path=Name}"
FontFamily="Microsoft Sans Serif"
IsChecked="{Binding Path=IsChecked}"
Tag="{Binding}"
Unchecked="BehinderungsartCB_OnChecked" />
</Border>
</Grid>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
<Grid Grid.Row="1">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Button
Grid.Column="1"
Width="70"
Height="25"
Margin="3"
HorizontalAlignment="Right"
Command="ApplicationCommands.Close"
Content="Schließen" />
</Grid>
</Grid>
</UserControl>