-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
43 lines (40 loc) · 1.69 KB
/
MainWindow.xaml
File metadata and controls
43 lines (40 loc) · 1.69 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="GameLauncher.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:GameLauncher"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Title="GameLauncher">
<Window.SystemBackdrop>
<DesktopAcrylicBackdrop />
</Window.SystemBackdrop>
<Grid>
<NavigationView x:Name="nvSample"
IsBackButtonVisible="Collapsed"
IsBackEnabled="False"
PaneDisplayMode="Left"
ItemInvoked="nvSample_ItemInvoked">
<NavigationView.AutoSuggestBox>
<AutoSuggestBox x:Name="searchBox"
PlaceholderText="Search games..."
QueryIcon="Find"
QuerySubmitted="searchBox_QuerySubmitted"
TextChanged="searchBox_TextChanged"
/>
</NavigationView.AutoSuggestBox>
<NavigationView.MenuItems>
<NavigationViewItem Content="Games" Icon="Play" Tag="GameLauncher.Views.PlayView" />
</NavigationView.MenuItems>
<Frame x:Name="contentFrame">
<Frame.ContentTransitions>
<TransitionCollection>
<NavigationThemeTransition/>
</TransitionCollection>
</Frame.ContentTransitions>
</Frame>
</NavigationView>
</Grid>
</Window>