Datenschnittstelle erweitert
This commit is contained in:
34
GuiWPF/Views/AuftraggeberEditPage.xaml
Normal file
34
GuiWPF/Views/AuftraggeberEditPage.xaml
Normal file
@@ -0,0 +1,34 @@
|
||||
<UserControl x:Class="GuiWPF.Views.AuftraggeberEditPage"
|
||||
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:GuiWPF.Views"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="450" d:DesignWidth="800">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Label Grid.Row="0" Grid.Column="0" Content="Name" />
|
||||
<Label Grid.Row="1" Grid.Column="0" Content="Straße" />
|
||||
<Label Grid.Row="2" Grid.Column="0" Content="Ort" />
|
||||
<Label Grid.Row="3" Grid.Column="0" Content="Telefon" />
|
||||
|
||||
<TextBox Grid.Row="0" Grid.Column="1" Text="{Binding Path=Name}" />
|
||||
<TextBox Grid.Row="1" Grid.Column="1" Text="{Binding Path=Strasse}" />
|
||||
<TextBox Grid.Row="2" Grid.Column="1" Text="{Binding Path=Ort}" />
|
||||
<TextBox Grid.Row="3" Grid.Column="1" Text="{Binding Path=Telefon}" />
|
||||
|
||||
<Button Grid.Row="4" Grid.ColumnSpan="2" Content="Speichern" Command="{Binding Path=SaveCommand}" />
|
||||
</Grid>
|
||||
</UserControl>
|
||||
Reference in New Issue
Block a user