<UserControl x:Class="Apollon.WPF.Views.RootdatesView"
             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:local="clr-namespace:Apollon.WPF.Views"
             mc:Ignorable="d">
    <Grid Margin="35">
        <DataGrid FontSize="14"
                  HorizontalAlignment="Center"
                  CanUserAddRows="True"
                  AutoGenerateColumns="True">
            <DataGrid.Columns>
                <DataGridTextColumn Width="120" Header="Vorname"  Binding="{Binding FirstName}"/>
                <DataGridTextColumn Width="120" Header="Nachname" Binding="{Binding LastName}" />
                <DataGridTextColumn Width="120" Header="Passnummer"  Binding="{Binding PassNumber}"/>
                <DataGridTextColumn Width="150" Header="Verein" Binding="{Binding Society}" />
                <DataGridTextColumn Width="120" Header="Vereinsnummer"  Binding="{Binding SocietyNumber}"/>
                <DataGridTextColumn Width="100" Header="Geburtsdatum" Binding="{Binding Birthday}" />
                <DataGridTextColumn Header="Bundesland"  Binding="{Binding Country}"/>
                <DataGridTextColumn Header="Qualifikation"  Binding="{Binding Qualification}"/>
            </DataGrid.Columns>
            
        </DataGrid>
    </Grid>
</UserControl>
