<Window x:Class="WpfApp1.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:WpfApp1"
        mc:Ignorable="d"
        Title="MainWindow" Height="200" Width="350">

    <Window.Background>
        <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
            <GradientStop Color="#FF1E1E1E" Offset="0" />
            <GradientStop Color="#FF646464" Offset="1" />
            <GradientStop Color="#FF828282" Offset="0.987"/>
        </LinearGradientBrush>
    </Window.Background>
    <Window.Resources>
        <Style x:Key="style1">
            <Setter Property="Control.Foreground" Value="White" />
            <Setter Property="Control.VerticalAlignment" Value="Center" />
        </Style>
        <Style TargetType="TextBox">
            <Setter Property="Grid.Column" Value="1" />
            <Setter Property="FontSize" Value="14" />
            <Setter Property="Margin" Value="5" />
        </Style>
    </Window.Resources>
    <DockPanel>
          <StackPanel DockPanel.Dock="Top" Background="#FF49494D">
            <Label Foreground="White" FontSize="16" HorizontalAlignment="Center">
                Personendaten
            </Label>
        </StackPanel>      
        <StackPanel DockPanel.Dock="Bottom" Orientation="Horizontal" HorizontalAlignment="Right">
            <Button Height="24" Width="100" Margin="5">OK</Button>
            <Button  Width="100" Margin="5">Abbrechen</Button>
        </StackPanel>
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition />
            </Grid.ColumnDefinitions>

            <Label Style="{StaticResource style1}" >Name:</Label>
            <Label Style="{StaticResource style1}" Grid.Row="1">Alter:</Label>
            <Label Style="{StaticResource style1}" Grid.Row="2">Adresse:</Label>
            <TextBox Grid.Column="1" Text="{Binding Path=Name}" />
            <TextBox Grid.Column="1" Grid.Row="1" Text="{Binding Path=Alter}" />
            <TextBox Grid.Column="1" Grid.Row="2" Text="{Binding Path=Adresse}" />
        </Grid>
    </DockPanel>
</Window>

