<Page
    x:Class="AutoCat.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:AutoCat"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
    mc:Ignorable="d"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
    d:Width="600" d:Height="400">

    <Page.Resources>
        <AcrylicBrush x:Key="NavigationViewDefaultPaneBackground"
                  BackgroundSource="HostBackdrop"
                  TintColor="Black"
                  TintOpacity="0.6"
                  FallbackColor="Black"/>
    </Page.Resources>

    <muxc:NavigationView x:Name="NavView" IsTitleBarAutoPaddingEnabled="False" Loaded="NavView_Loaded" SelectionChanged="NavView_SelectionChanged">
        <muxc:NavigationView.MenuItems>
            <muxc:NavigationViewItem Content="Check plate number" Tag="CheckPlateNumber" >
                <muxc:NavigationViewItem.Icon>
                    <FontIcon Glyph="&#xE7B3;"/>
                </muxc:NavigationViewItem.Icon>
            </muxc:NavigationViewItem>
            <muxc:NavigationViewItem Content="Search" Tag="SearchPlateNumber">
                <muxc:NavigationViewItem.Icon>
                    <FontIcon Glyph="&#xE721;"/>
                </muxc:NavigationViewItem.Icon>
            </muxc:NavigationViewItem>
        </muxc:NavigationView.MenuItems>

        <Frame x:Name="ContentFrame"/>
    </muxc:NavigationView>
</Page>
