<!-- Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See LICENSE in the project root for license information. -->
<local:TestPage
    x:Class="MUXControlsTestApp.NavigationViewStretchPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:MUXControlsTestApp"
    xmlns:muxcontrols="http://schemas.modernwpf.com/2019"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <muxcontrols:NavigationView 
                IsBackButtonVisible="Visible"
                x:Name="NavView" AutomationProperties.Name="NavView" AutomationProperties.AutomationId="NavView"
                Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
            <muxcontrols:NavigationView.MenuItems>
                <muxcontrols:NavigationViewItem x:Name="HomeItem" Content="Home" Icon="Home" />
                <muxcontrols:NavigationViewItem x:Name="AppsItem" Icon="Shop" Tag="Apps" />
                <muxcontrols:NavigationViewItemSeparator />
                <muxcontrols:NavigationViewItemHeader x:Name="HeaderTextItem" Content="Header Text" />
                <muxcontrols:NavigationViewItem x:Name="MusicItem" Content="Music" Icon="Audio" />
                <muxcontrols:NavigationViewItem x:Name="MoviesItem" Content="Movies" Icon="Video" />
            </muxcontrols:NavigationView.MenuItems>
            <muxcontrols:NavigationView.PaneHeader>
                <Button x:Name="PaneHeader" Content="PaneHeader" HorizontalAlignment="Stretch" IsTabStop="False" />
            </muxcontrols:NavigationView.PaneHeader>
            <muxcontrols:NavigationView.PaneFooter>
                <Button x:Name="PaneFooter" Content="PaneFooter" HorizontalAlignment="Stretch" IsTabStop="False" />
            </muxcontrols:NavigationView.PaneFooter>
            <muxcontrols:NavigationView.PaneCustomContent>
                <Button x:Name="PaneCustomContent" Content="PaneCustomContent" HorizontalAlignment="Stretch" IsTabStop="False" />
            </muxcontrols:NavigationView.PaneCustomContent>
            <StackPanel>
                <TextBlock>This is content</TextBlock>
            </StackPanel>
        </muxcontrols:NavigationView>
    </Grid>
</local:TestPage>
