<views:MvxWindowsPage x:Class="Playground.WinUi.Views.ChildView"
                      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:views="using:MvvmCross.Platforms.WinUi.Views"
                      mc:Ignorable="d">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition />
        </Grid.RowDefinitions>
    <StackPanel>
        <TextBlock Text="Child View"
                   Margin="5" />
        <Button Content="Close"
                Command="{Binding CloseCommand}"
                Margin="5"
                Padding="5" />
            <Button Content="Second Child"
                    Command="{Binding ShowSecondChildCommand}"
                    Margin="5"
                    Padding="5" />
            
        </StackPanel>
        <Frame x:Name="NestedFrame"  Grid.Row="1"/>
    </Grid>
</views:MvxWindowsPage>