forked from microsoft/BuildCast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNavigationRoot.xaml
67 lines (64 loc) · 3.96 KB
/
NavigationRoot.xaml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!--
// ******************************************************************
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THE CODE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
// THE CODE OR THE USE OR OTHER DEALINGS IN THE CODE.
// ******************************************************************
-->
<Page
x:Class="BuildCast.Views.NavigationRoot"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:RS3="using:Windows.UI.Xaml.Controls?IsApiContractPresent(Windows.Foundation.UniversalApiContract,5)"
xmlns:appmodel="using:Windows.ApplicationModel"
xmlns:animations="using:Microsoft.Toolkit.Uwp.UI.Animations"
xmlns:local="using:BuildCast.Views"
mc:Ignorable="d"
Loaded="Page_Loaded"
>
<Grid x:Name="NavRootGrid" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<Rectangle x:Name="BorderRect" x:Load="False"
Fill="{StaticResource NavigationViewDefaultPaneBackground}"
HorizontalAlignment="Left" Height="1000" Width="48"/>
<RS3:NavigationView IsSettingsVisible="True" x:Name="navview" AlwaysShowHeader="False" ItemInvoked="Navview_ItemInvoked">
<RS3:NavigationView.MenuItems>
<RS3:NavigationViewItem Content="Browse videos" IsSelected="True">
<RS3:NavigationViewItem.Icon>
<FontIcon FontFamily="Segoe MDL2 Assets" Glyph="" ></FontIcon>
</RS3:NavigationViewItem.Icon>
</RS3:NavigationViewItem>
<RS3:NavigationViewItem Content="Now playing" >
<RS3:NavigationViewItem.Icon>
<FontIcon FontFamily="/Assets/BCastMDL2.ttf#BuildCast MDL2 Assets" Glyph=""/>
</RS3:NavigationViewItem.Icon>
</RS3:NavigationViewItem>
<RS3:NavigationViewItem Content="Favorites" >
<RS3:NavigationViewItem.Icon>
<FontIcon x:Name="FavoriteStaticIcon" FontFamily="Segoe MDL2 Assets" Glyph="" ></FontIcon>
</RS3:NavigationViewItem.Icon>
</RS3:NavigationViewItem>
<RS3:NavigationViewItem Content="Notes" >
<RS3:NavigationViewItem.Icon>
<FontIcon x:Name="NoteStaticIcon" FontFamily="/Assets/BCastMDL2.ttf#BuildCast MDL2 Assets" Glyph="" ></FontIcon>
</RS3:NavigationViewItem.Icon>
</RS3:NavigationViewItem>
<RS3:NavigationViewItem Content="Downloads" >
<RS3:NavigationViewItem.Icon>
<FontIcon x:Name="DoanlodsStaticIcon" FontFamily="Segoe MDL2 Assets" Glyph="" ></FontIcon>
</RS3:NavigationViewItem.Icon>
</RS3:NavigationViewItem>
</RS3:NavigationView.MenuItems>
<Frame x:Name="appNavFrame" Navigated="AppNavFrame_Navigated">
</Frame>
</RS3:NavigationView>
<TextBlock x:Name="windowTitle" Style="{ThemeResource CaptionTextBlockStyle}" Visibility="{x:Bind TitleHelper.TitleVisibility, Mode=OneWay}" Margin="{x:Bind TitleHelper.TitlePosition, Mode=OneWay}" VerticalAlignment="Top" Text="{x:Bind appmodel:Package.Current.DisplayName}" animations:Implicit.Animations="{StaticResource LayoutImplicitAnimations}"></TextBlock>
</Grid>
</Page>