2017-05-16 01:04:42 +00:00
|
|
|
<Window x:Class="BuechermarktClient.Students"
|
|
|
|
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:BuechermarktClient"
|
|
|
|
mc:Ignorable="d"
|
|
|
|
Title="Students" Height="300" Width="300">
|
|
|
|
<Grid>
|
|
|
|
<Grid.RowDefinitions>
|
2017-05-18 10:57:50 +00:00
|
|
|
<RowDefinition Height="Auto"></RowDefinition>
|
2017-05-16 01:04:42 +00:00
|
|
|
<RowDefinition Height="*"></RowDefinition>
|
|
|
|
<RowDefinition Height="Auto"></RowDefinition>
|
|
|
|
</Grid.RowDefinitions>
|
2017-05-18 10:57:50 +00:00
|
|
|
<Grid Grid.Row="0">
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
|
|
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Label Content="Search:" Grid.Column="0"></Label>
|
|
|
|
<TextBox Grid.Column="1" Text="{Binding SearchField, Mode=OneWayToSource}"></TextBox>
|
|
|
|
</Grid>
|
|
|
|
<ListView Grid.Row="1" Margin="0,0,0,0" Name="ViewList">
|
2017-05-16 01:04:42 +00:00
|
|
|
<ListView.View>
|
|
|
|
<GridView>
|
|
|
|
<GridViewColumn Header="Vorname" DisplayMemberBinding="{Binding Forname}" Width="Auto"></GridViewColumn>
|
|
|
|
<GridViewColumn Header="nachname" DisplayMemberBinding="{Binding Lastname}" Width="Auto"></GridViewColumn>
|
|
|
|
<GridViewColumn Header="E-Mail" DisplayMemberBinding="{Binding EMail}" Width="Auto"></GridViewColumn>
|
|
|
|
<GridViewColumn Header="Telefon" DisplayMemberBinding="{Binding PhoneNumber}" Width="Auto"></GridViewColumn>
|
|
|
|
<GridViewColumn Header="LabelId" DisplayMemberBinding="{Binding LabelId}" Width="Auto"></GridViewColumn>
|
|
|
|
<GridViewColumn Header="Klasse" DisplayMemberBinding="{Binding Form}" Width="Auto"></GridViewColumn>
|
|
|
|
</GridView>
|
|
|
|
</ListView.View>
|
|
|
|
<ListView.ItemContainerStyle>
|
|
|
|
<Style TargetType="ListViewItem">
|
|
|
|
<EventSetter Event="PreviewMouseDoubleClick" Handler="ListViewItem_PreviewMouseUp"></EventSetter>
|
|
|
|
</Style>
|
|
|
|
</ListView.ItemContainerStyle>
|
|
|
|
</ListView>
|
|
|
|
<Button Grid.Row="2" Content="Hinzufügen" VerticalAlignment="Center" Click="AddNew_Click">
|
|
|
|
|
|
|
|
</Button>
|
|
|
|
</Grid>
|
|
|
|
</Window>
|