pcut_uwp/PCUT/PCUT/Pages/AdminCenterPage.xaml

46 lines
1.9 KiB
XML

<Page
x:Class="PCUT.Pages.AdminCenterPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:PCUT.Pages"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<Page.Transitions>
<TransitionCollection>
<EntranceThemeTransition />
</TransitionCollection>
</Page.Transitions>
<Grid>
<NavigationView
IsBackEnabled="False"
IsBackButtonVisible="Collapsed"
IsSettingsVisible="False"
IsPaneToggleButtonVisible="False"
AlwaysShowHeader="False"
Background="White"
ItemInvoked="NavigationViewItem_Invoked"
IsPaneOpen="True"
OpenPaneLength="180">
<NavigationView.MenuItems >
<NavigationViewItem Icon="Document" Content="Categories" x:Name="Categories" Tag="Categories" Background="{ThemeResource SystemAccentColor}"/>
<NavigationViewItem Icon="Folder" Content="Files" x:Name="Files" Tag="Files" Background="{ThemeResource SystemAccentColor}"/>
<NavigationViewItem Icon="People" Content="Users" x:Name="Users" Tag="Users" Background="{ThemeResource SystemAccentColor}"/>
<NavigationViewItem Icon="Clock" Content="Logs" x:Name="Logs" Tag="Logs" Background="{ThemeResource SystemAccentColor}"/>
</NavigationView.MenuItems>
<Frame x:Name="ContentFrame"/>
<NavigationView.PaneFooter>
<StackPanel VerticalAlignment="Bottom" HorizontalAlignment="Center">
<Image Source="/Assets/Logo-Pcut.jpg" MaxWidth="100" MaxHeight="100"/>
</StackPanel>
</NavigationView.PaneFooter>
</NavigationView>
</Grid>
</Page>