|
1 |
| -<Page |
2 |
| - x:Class="ReactNativeNotes.MainPage" |
3 |
| - xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
4 |
| - xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
5 |
| - xmlns:local="using:ReactNativeNotes" |
6 |
| - xmlns:react="using:Microsoft.ReactNative" |
7 |
| - xmlns:muxc="using:Microsoft.UI.Xaml.Controls" |
8 |
| - xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
9 |
| - xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
10 |
| - Background="Transparent" |
11 |
| - mc:Ignorable="d"> |
12 |
| - <Page.Resources> |
13 |
| - <SolidColorBrush x:Key="NavigationViewDefaultPaneBackground" Color="#FF5A2D"/> |
14 |
| - </Page.Resources> |
15 |
| - |
16 |
| - <muxc:NavigationView x:Name="TopNavigationPanel" IsSettingsVisible="False" IsBackButtonVisible="Collapsed" PaneDisplayMode="LeftCompact" OpenPaneLength="150" ItemInvoked="ItemInvokedEventHandler"> |
17 |
| - <muxc:NavigationView.Resources> |
18 |
| - <SolidColorBrush x:Key="NavigationViewItemForeground" Color="White"/> |
19 |
| - <SolidColorBrush x:Key="NavigationBackButto" Color="White"/> |
20 |
| - </muxc:NavigationView.Resources> |
21 |
| - |
22 |
| - <muxc:NavigationView.Background> |
23 |
| - <LinearGradientBrush> |
24 |
| - <GradientStop Offset="0.3" Color="#D0E7F3"/> |
25 |
| - <GradientStop Offset="1.4" Color="#A6B3D9"/> |
26 |
| - <GradientStop Offset="0.6" Color="#F8A878"/> |
27 |
| - <GradientStop Offset="0.9" Color="#D0E7F3"/> |
28 |
| - </LinearGradientBrush> |
29 |
| - </muxc:NavigationView.Background> |
30 |
| - |
31 |
| - <muxc:NavigationView.MenuItems> |
32 |
| - |
33 |
| - <muxc:NavigationViewItem Content="Create" Tag="CreateNotePage" Foreground="White" Margin="0,5,0,5"> |
34 |
| - <muxc:NavigationViewItem.Icon> |
35 |
| - <FontIcon Glyph=""/> |
36 |
| - </muxc:NavigationViewItem.Icon> |
37 |
| - </muxc:NavigationViewItem> |
38 |
| - |
39 |
| - <muxc:NavigationViewItem Content="Notes" Tag="NotesPage" Foreground="White" Margin="0,5,0,5"> |
40 |
| - <muxc:NavigationViewItem.Icon> |
41 |
| - <FontIcon Glyph=""/> |
42 |
| - </muxc:NavigationViewItem.Icon> |
43 |
| - </muxc:NavigationViewItem> |
44 |
| - |
45 |
| - <muxc:NavigationViewItem Content="ToDo List" Tag="ToDoListPage" Foreground="White" Margin="0,5,0,5"> |
46 |
| - <muxc:NavigationViewItem.Icon> |
47 |
| - <FontIcon Glyph=""/> |
48 |
| - </muxc:NavigationViewItem.Icon> |
49 |
| - </muxc:NavigationViewItem> |
50 |
| - |
51 |
| - </muxc:NavigationView.MenuItems> |
52 |
| - <Grid> |
53 |
| - <Grid.RowDefinitions> |
54 |
| - <RowDefinition Height="14*"/> |
55 |
| - <RowDefinition Height="*"/> |
56 |
| - </Grid.RowDefinitions> |
57 |
| - <Frame x:Name="ApplicationContentFrame" Grid.RowSpan="2"/> |
58 |
| - <StackPanel Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Right"> |
59 |
| - <TextBlock Grid.Row="1" Text="Powered by " HorizontalAlignment="Right" VerticalAlignment="Center" Foreground="White" FontSize="18"/> |
60 |
| - <TextBlock Grid.Row="1" Margin="10,0,10,5" HorizontalAlignment="Right" VerticalAlignment="Center" Foreground="White" FontWeight="Bold" FontSize="25">{callstack}</TextBlock> |
61 |
| - </StackPanel> |
62 |
| - </Grid> |
63 |
| - </muxc:NavigationView> |
64 |
| -</Page> |
| 1 | +<Page |
| 2 | + x:Class="ReactNativeNotes.MainPage" |
| 3 | + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| 4 | + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| 5 | + xmlns:local="using:ReactNativeNotes" |
| 6 | + xmlns:react="using:Microsoft.ReactNative" |
| 7 | + xmlns:muxc="using:Microsoft.UI.Xaml.Controls" |
| 8 | + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
| 9 | + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
| 10 | + Background="Transparent" |
| 11 | + mc:Ignorable="d"> |
| 12 | + <Page.Resources> |
| 13 | + <SolidColorBrush x:Key="NavigationViewDefaultPaneBackground" Color="#FF5A2D"/> |
| 14 | + </Page.Resources> |
| 15 | + |
| 16 | + <muxc:NavigationView x:Name="TopNavigationPanel" IsBackButtonVisible="Collapsed" PaneDisplayMode="LeftCompact" OpenPaneLength="150" ItemInvoked="ItemInvokedEventHandler"> |
| 17 | + <muxc:NavigationView.Resources> |
| 18 | + <SolidColorBrush x:Key="NavigationViewItemForeground" Color="White"/> |
| 19 | + <SolidColorBrush x:Key="NavigationBackButto" Color="White"/> |
| 20 | + </muxc:NavigationView.Resources> |
| 21 | + |
| 22 | + <muxc:NavigationView.Background> |
| 23 | + <LinearGradientBrush> |
| 24 | + <GradientStop Offset="0.3" Color="#D0E7F3"/> |
| 25 | + <GradientStop Offset="1.4" Color="#A6B3D9"/> |
| 26 | + <GradientStop Offset="0.6" Color="#F8A878"/> |
| 27 | + <GradientStop Offset="0.9" Color="#D0E7F3"/> |
| 28 | + </LinearGradientBrush> |
| 29 | + </muxc:NavigationView.Background> |
| 30 | + |
| 31 | + <muxc:NavigationView.MenuItems> |
| 32 | + |
| 33 | + <muxc:NavigationViewItem Content="Create" Tag="CreateNotePage" Foreground="White" Margin="0,5,0,5"> |
| 34 | + <muxc:NavigationViewItem.Icon> |
| 35 | + <FontIcon Glyph=""/> |
| 36 | + </muxc:NavigationViewItem.Icon> |
| 37 | + </muxc:NavigationViewItem> |
| 38 | + |
| 39 | + <muxc:NavigationViewItem Content="Notes" Tag="NotesPage" Foreground="White" Margin="0,5,0,5"> |
| 40 | + <muxc:NavigationViewItem.Icon> |
| 41 | + <FontIcon Glyph=""/> |
| 42 | + </muxc:NavigationViewItem.Icon> |
| 43 | + </muxc:NavigationViewItem> |
| 44 | + |
| 45 | + <muxc:NavigationViewItem Content="ToDo List" Tag="ToDoListPage" Foreground="White" Margin="0,5,0,5"> |
| 46 | + <muxc:NavigationViewItem.Icon> |
| 47 | + <FontIcon Glyph=""/> |
| 48 | + </muxc:NavigationViewItem.Icon> |
| 49 | + </muxc:NavigationViewItem> |
| 50 | + |
| 51 | + </muxc:NavigationView.MenuItems> |
| 52 | + <Grid> |
| 53 | + <Grid.RowDefinitions> |
| 54 | + <RowDefinition Height="14*"/> |
| 55 | + <RowDefinition Height="*"/> |
| 56 | + </Grid.RowDefinitions> |
| 57 | + <Frame x:Name="ApplicationContentFrame" Grid.RowSpan="2"/> |
| 58 | + <StackPanel Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Right"> |
| 59 | + <TextBlock Grid.Row="1" Text="Powered by " HorizontalAlignment="Right" VerticalAlignment="Center" Foreground="White" FontSize="18"/> |
| 60 | + <TextBlock Grid.Row="1" Margin="10,0,10,5" HorizontalAlignment="Right" VerticalAlignment="Center" Foreground="White" FontWeight="Bold" FontSize="25">{callstack}</TextBlock> |
| 61 | + </StackPanel> |
| 62 | + </Grid> |
| 63 | + </muxc:NavigationView> |
| 64 | +</Page> |
0 commit comments