<Page
    x:Class="MehrereSeiten_InnerFrame.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:MehrereSeiten_InnerFrame"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="*"/>   <!-- wichtig -->
        </Grid.ColumnDefinitions>
        
        <StackPanel Grid.Column="0" Orientation="Vertical" Margin="100">
                <Button FontSize="32" Margin="10,50,10,50" Click="Button_Click_1">Gehe zu Seite 1</Button>
            <Button FontSize="32" Margin="10,50,10,50" Click="Button_Click_2">Gehe zu Seite 2</Button>
            </StackPanel>

        <Frame Name="innerFrame" Grid.Column="1" Margin="100"
               HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />
    </Grid>
</Page>
