-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
46 lines (42 loc) · 2.21 KB
/
MainWindow.xaml
File metadata and controls
46 lines (42 loc) · 2.21 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
44
45
46
<Window
x:Class="Windows_App_Lock.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Windows_App_Lock"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<Grid>
<!-- Main content grid -->
<Grid x:Name="mainGrid" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<!-- NavigationView on the left -->
<NavigationView x:Name="nvSample" PaneDisplayMode="Left" IsPaneOpen="True" PaneTitle="Options" IsBackButtonVisible="Collapsed">
<NavigationView.Resources>
<Style TargetType="NavigationView">
<Setter Property="Background" Value="{ThemeResource NavigationViewDefaultPaneBackground}" />
<Setter Property="Foreground" Value="{ThemeResource NavigationViewDefaultPaneForeground}" />
</Style>
</NavigationView.Resources>
<NavigationView.MenuItems>
<NavigationViewItem Icon="Home" Content="Home" Tag="Home" />
<NavigationViewItem Icon="AllApps" Content="App List" Tag="AppList" />
<NavigationViewItem Icon="List" Content="Activity Logs" Tag="ActivityLogs" />
<NavigationViewItem Icon="Help" Content="Help" Tag="Help" />
<NavigationViewItem Icon="Globe" Content="About" Tag="About" />
</NavigationView.MenuItems>
</NavigationView>
<!-- Frame to host content -->
<Frame x:Name="contentFrame" Grid.Column="1"/>
</Grid>
<!-- Blur overlay -->
<Grid x:Name="blurGrid" Background="Transparent">
<Rectangle Fill="{ThemeResource AcrylicBackgroundFillColorDefaultBrush}">
</Rectangle>
<ProgressRing Width="75" Height="75" IsActive="True"/>
</Grid>
</Grid>
</Window>