|
23 | 23 | </TransitionCollection> |
24 | 24 | </Page.Transitions> |
25 | 25 | <Grid Background="Transparent"> |
26 | | - <Grid Margin="0,0,0,48"> |
27 | | - <ScrollViewer> |
28 | | - <StackPanel x:Name="Damn"> |
29 | | - |
| 26 | + <Grid Margin="0,0,0,0"> |
| 27 | + <Grid.RowDefinitions> |
| 28 | + <RowDefinition Height="*"/> |
| 29 | + <RowDefinition Height="70"/> |
| 30 | + </Grid.RowDefinitions> |
| 31 | + <ScrollViewer Grid.Row="0" HorizontalAlignment="Center" Margin="0,0,0,0" Grid.RowSpan="2" VerticalAlignment="Center"> |
| 32 | + <StackPanel x:Name="Damn"> |
30 | 33 |
|
31 | | - <controls:TemplatedTextBox x:Name="Title" Text="" Margin="10,20,10,0" Height="35" Glyph="" PlaceHolder="Title" /> |
| 34 | + |
| 35 | + <controls:TemplatedTextBox x:Name="Title" Text="" Margin="10,20,10,0" Height="35" Glyph="" PlaceHolder="Title" /> |
32 | 36 | <controls:TemplatedTextBox x:Name="Details" Text="" Margin="10,10,10,0" Glyph="" PlaceHolder="Details" /> |
33 | | - |
| 37 | + |
34 | 38 | <StackPanel> |
35 | | - <DatePicker Width="300" HorizontalAlignment="Center" BorderBrush="Transparent" BorderThickness="0" x:Name="datepic" Margin="5,10,5,0" Style="{StaticResource DatePickerStyle}" /> |
36 | | - <TimePicker Width="300" BorderThickness="0" BorderBrush="Transparent" HorizontalAlignment="Center" x:Name="timepic" Margin="5,10,5,0" Style="{StaticResource TimePickerStyle}" /> |
| 39 | + <DatePicker Width="300" HorizontalAlignment="Center" BorderBrush="Transparent" BorderThickness="0" x:Name="datepic" Margin="5,10,5,0" Style="{StaticResource DatePickerStyle}" /> |
| 40 | + <TimePicker Width="300" BorderThickness="0" BorderBrush="Transparent" HorizontalAlignment="Center" x:Name="timepic" Margin="5,10,5,0" Style="{StaticResource TimePickerStyle}" /> |
37 | 41 |
|
38 | 42 | <StackPanel HorizontalAlignment="Center" Margin="0,5,0,0" Orientation="Horizontal" > |
39 | 43 | <RadioButton x:Uid="silent" MinWidth="0" Width="Auto" Opacity="0.85" x:Name="rbs" Content="Silent" IsChecked="True" GroupName="not" /> |
40 | 44 | <RadioButton x:Uid="notify" MinWidth="0" Margin="30" Width="Auto" Opacity="0.85" x:Name="rbn" Content="Notify" GroupName="not" /> |
41 | 45 | <RadioButton x:Uid="alarm" MinWidth="0" Width="Auto" Opacity="0.85" x:Name="rba" Content="Alarm" GroupName="not" /> |
42 | 46 | </StackPanel> |
43 | 47 | </StackPanel> |
44 | | - |
| 48 | + |
45 | 49 | <!--<Controls:Expander x:Name="Expander4" VerticalAlignment="Top" Margin="0,10,0,10" |
46 | 50 | Header="Deadline" |
47 | 51 | IsExpanded="False"> |
|
53 | 57 | </StackPanel> |
54 | 58 | </ScrollViewer> |
55 | 59 |
|
| 60 | + <StackPanel HorizontalAlignment="Center" Grid.Row="1" Orientation="Horizontal"> |
| 61 | + <Button HorizontalAlignment="Stretch" Click="AppBarButton_Click" Width="160" Background="{StaticResource RedBrush}" Content="Dismiss" Margin="5,5" Height="45" Style="{StaticResource goitstyle}"/> |
| 62 | + <Button HorizontalAlignment="Stretch" Click="AppBarButton_Click_1" Width="160" Background="{StaticResource GreenBrush}" Content="Save" Margin="5,5" Height="45" Style="{StaticResource goitstyle}"/> |
| 63 | + </StackPanel> |
56 | 64 | </Grid> |
57 | 65 |
|
58 | | - <CommandBar VerticalAlignment="Bottom"> |
59 | | - <AppBarButton Width="Auto" MinWidth="70" Label="Cancel" Click="AppBarButton_Click" > |
60 | | - |
61 | | - <AppBarButton.Icon> |
62 | | - <FontIcon Margin="0,-14,0,-15" FontFamily="Segoe MDL2 Assets" Glyph="" Height="49" VerticalAlignment="Top"/> |
63 | | - </AppBarButton.Icon> |
64 | | - </AppBarButton> |
65 | | - |
66 | | - <AppBarButton Width="Auto" MinWidth="70" Label="Save" Click="AppBarButton_Click_1" > |
67 | | - |
68 | | - <AppBarButton.Icon> |
69 | | - <FontIcon Margin="0,-14,0,-15" FontFamily="Segoe MDL2 Assets" Glyph="" Height="49" VerticalAlignment="Top"/> |
70 | | - </AppBarButton.Icon> |
71 | | - </AppBarButton> |
72 | | - |
73 | | - |
74 | | - |
75 | | - |
76 | | - |
77 | 66 |
|
78 | | - </CommandBar> |
79 | 67 | <VisualStateManager.VisualStateGroups> |
80 | 68 | <VisualStateGroup x:Name="WindowStates"> |
81 | 69 | <VisualState x:Name="Wide3State"> |
|
0 commit comments