<!-- 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.NavigationViewMenuItemStretchPage"
    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"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
    <!-- This page contains a NavigationView control that is in LeftMinimal mode on initial load -->
    <StackPanel>
        <muxcontrols:NavigationView >
            <muxcontrols:NavigationView.MenuItems>
                <muxcontrols:NavigationViewItem HorizontalContentAlignment="Center" Icon="Find" Tag="find" IsSelected="True">
                    <Border Background="Red">
                        <TextBlock>Center</TextBlock>
                    </Border>
                </muxcontrols:NavigationViewItem>
                <muxcontrols:NavigationViewItem HorizontalContentAlignment="Left" Icon="Find" Tag="find" IsSelected="True">
                    <Border Background="Red">
                        <TextBlock>Left</TextBlock>
                    </Border>
                </muxcontrols:NavigationViewItem>
                <muxcontrols:NavigationViewItem HorizontalContentAlignment="Right" Icon="Find" Tag="find" IsSelected="True">
                    <Border Background="Red">
                        <TextBlock>Right</TextBlock>
                    </Border>
                </muxcontrols:NavigationViewItem>
                <muxcontrols:NavigationViewItem HorizontalContentAlignment="Stretch" Icon="Find" Tag="find" IsSelected="True">
                    <Border Background="Red">
                        <TextBlock>Stretch</TextBlock>
                    </Border>
                </muxcontrols:NavigationViewItem>

            </muxcontrols:NavigationView.MenuItems>
        </muxcontrols:NavigationView>
    </StackPanel>
</local:TestPage>
