Files
csharp-uebung/FahzeugWPF/EinfuegenWindow.xaml
2025-06-02 17:16:38 +02:00

18 lines
1.1 KiB
XML

<Window x:Class="FahzeugWPF.EinfuegenWindow"
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:FahzeugWPF"
mc:Ignorable="d"
x:Name="EinfuegenFenster"
Title="Fahrzeug Einfuegen" Height="300" Width="500">
<StackPanel>
<TextBlock Margin="1" Text="Neuse Fahrzeug" VerticalAlignment="Top" />
<TextBox HorizontalAlignment="Left" Margin="1" TextWrapping="Wrap" Width="498" Text="{Binding Path=NeuesrFahrzeugName}" />
<TextBlock Margin="1" Text="Fahrzeugtyp" VerticalAlignment="Top"/>
<TextBox HorizontalAlignment="Left" Margin="1" TextWrapping="Wrap" Width="498" Text="{Binding Path=NeuerFahrzeugTyp}"/>
<Button Content="Einfügen" HorizontalAlignment="Left" Margin="1" VerticalAlignment="Top" Command="{Binding Path=EinfuegenKommando}" CommandParameter="{Binding ElementName=EinfuegenFenster}"/>
</StackPanel>
</Window>