59 lines
2.2 KiB
XML
59 lines
2.2 KiB
XML
<UserControl
|
|
x:Class="BeWo.View.Controls.MerkzeichenSelectionControl"
|
|
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="230"
|
|
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=PossibleMerkzeichen}">
|
|
<ListBox.ItemTemplate>
|
|
<DataTemplate>
|
|
<Grid>
|
|
<Border
|
|
Height="23"
|
|
BorderBrush="{x:Null}"
|
|
CornerRadius="5">
|
|
<CheckBox
|
|
Margin="6,0,0,0"
|
|
VerticalAlignment="Center"
|
|
Checked="MerkzeichenCB_OnChecked"
|
|
Content="{Binding Path=Name}"
|
|
FontFamily="Microsoft Sans Serif"
|
|
IsChecked="{Binding Path=IsChecked}"
|
|
Tag="{Binding}"
|
|
Unchecked="MerkzeichenCB_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>
|