Frame Navigation Demo Window

   
       

<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        Title="Frame Navigation Demo" FontSize="24">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition />
        </Grid.RowDefinitions>

        <Frame Grid.Row="0" Background="Aqua"
               Source="Page1.xaml" />

        <Frame Grid.Row="1" Background="Pink"
               Source="Page2.xaml" />

    </Grid>
</Window>