forked from Yitiaoxianyu-h/OpenNEL
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
43 lines (38 loc) · 1.77 KB
/
MainWindow.xaml
File metadata and controls
43 lines (38 loc) · 1.77 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
<?xml version="1.0" encoding="utf-8"?>
<Window
x:Class="OpenNEL_WinUI.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:OpenNEL_WinUI"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Title="Open NEL">
<Window.SystemBackdrop>
<MicaBackdrop />
</Window.SystemBackdrop>
<Grid x:Name="RootGrid">
<Grid.RowDefinitions>
<RowDefinition MaxHeight="32"/>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid Grid.Row="0" x:Name="AppTitleBar" VerticalAlignment="Top" Background="Transparent" Margin="0,-1,0,0">
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="20,6,0,6">
<Image x:Name="AppTitleIcon" Width="24" Height="24" Source="ms-appx:///Assets/OpenNEL.png" Margin="0,0,8,0"/>
<TextBlock x:Name="AppTitleTextBlock" Text="Open NEL" VerticalAlignment="Center"/>
</StackPanel>
</Grid>
<NavigationView Grid.Row="1" x:Name="NavView"
PaneDisplayMode="Left"
IsBackButtonVisible="Collapsed"
IsSettingsVisible="True"
SelectionChanged="NavView_SelectionChanged"
Loaded="NavView_Loaded"
SizeChanged="NavView_SizeChanged">
<Frame x:Name="ContentFrame"/>
</NavigationView>
<Grid Grid.Row="1" IsHitTestVisible="False">
<local:NotificationHost HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,16,0,0"/>
</Grid>
</Grid>
</Window>