<Window x:Class="WpfSteuerelemente.MainWindow"
        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"
        xmlns:local="clr-namespace:WpfSteuerelemente"
        mc:Ignorable="d"
        Title="WpfSteuerelemente" Height="250" Width="350">
    <StackPanel>
        <WrapPanel>
            <Label Margin="5">Beschriftung:</Label>
            <CheckBox x:Name="Cb" Margin="10" Checked="Cb_Checked"
                      Unchecked="Cb_Unchecked" >CheckBox</CheckBox>
            <TextBox x:Name="Tb" Width="150"
                     Margin="5">Das ist ein Text</TextBox>
            <Button Margin="5" Click="Bu_Click">Anzeigen</Button>
        </WrapPanel>
        <ListBox x:Name="Lb" Margin="5" SelectionMode="Multiple"
                 SelectionChanged="Lb_SelectionChanged">
            <ListBoxItem>Frankreich</ListBoxItem>
            <ListBoxItem Selector.IsSelected="True">Spanien</ListBoxItem>
            <ListBoxItem Selector.IsSelected="True">Italien</ListBoxItem>
        </ListBox>
        <Slider x:Name="Sl" Margin="5" TickFrequency="1"
                TickPlacement="BottomRight" IsSnapToTickEnabled="True" 
                Value="5" ValueChanged="Sl_ValueChanged" />
    </StackPanel>
</Window>
