-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBrowseView.xaml
More file actions
43 lines (40 loc) · 2.18 KB
/
Copy pathBrowseView.xaml
File metadata and controls
43 lines (40 loc) · 2.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<Window x:Class="CRUDApp.BrowseView"
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:CRUDApp"
mc:Ignorable="d"
Title="Huiswerk" Height="300" Width="300"
DataContext="{Binding HomeworkViewModel, Source={StaticResource Locator}}" Closed="Window_Closed">
<Grid>
<StackPanel>
<!--Vak groep-->
<Label Content="Vak" Margin="12,12,12,0" Padding="0,5"/>
<TextBox Text="{Binding SelectedHomework.Course, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
Style="{DynamicResource HomeworkTextboxStyle}"/>
<!--Beschrijving groep-->
<Label Content="Beschrijving" Margin="12,0,12,0" Padding="0,5"/>
<TextBox Text="{Binding SelectedHomework.Summary, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
Style="{DynamicResource HomeworkTextboxStyle}"/>
<!--Datum-->
<Label Content="Datum" Margin="12,0,12,0" Padding="0,5"/>
<DatePicker Margin="12,0,12,12"
SelectedDate="{Binding SelectedHomework.DueDate, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Button Content="" HorizontalAlignment="Left"
Command="{Binding GotoPreviousHomeworkCommand}"
Margin="12,0,0,0"
Style="{DynamicResource SegoeMDL2ButtonStyle}"/>
<Button Content="" HorizontalAlignment="Right"
Command="{Binding GotoNextHomeworkCommand}"
Margin="0,0,12,0" Grid.Column="1"
Style="{DynamicResource SegoeMDL2ButtonStyle}"/>
</Grid>
</StackPanel>
</Grid>
</Window>