<UserControl x:Class="WWWings_GUI_SL5.Views.BuchungAbschließenView"
             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" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
  
    <Grid>
    <Grid.RowDefinitions>
      <RowDefinition Height="Auto" />
      <RowDefinition Height="Auto" />
      <RowDefinition Height="Auto" />
      <RowDefinition Height="*" />
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
      <ColumnDefinition Width="*" />
      <ColumnDefinition Width="*" />
      <ColumnDefinition Width="*" />
      <ColumnDefinition Width="100" />
    </Grid.ColumnDefinitions>
    <Button Content="Buchen" Command="{Binding BuchungAbschließenCommand}" Grid.Row="0" Grid.Column="3" Margin="3"/>
    <ContentControl Content="{Binding AusgewählterFlug}" Margin="5" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="4" ContentTemplate="{StaticResource FlugTemplate}"/>
    <ContentControl Content="{Binding AusgewählterPassagier}" Margin="5" Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="4" ContentTemplate="{StaticResource PassagierTemplate}"/>
    <TextBlock Text="{Binding Status}" FontSize="20" FontWeight="Bold" Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="4" Margin="10"/>
  </Grid>
</UserControl>
