<Window x:Class="XAMLPAD2009.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="XAMLPAD2009" Height="350" Width="525">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition/>
            <RowDefinition Height="Auto"/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Menu>
            <MenuItem Header="Actions">
                <MenuItem Header="Scrub the XAML" Click="MenuItem_Click"/>
            </MenuItem>
        </Menu>
        <Frame Grid.Row="1" JournalOwnership="UsesParentJournal" Name="frame"/>
        <GridSplitter Grid.Row="2" HorizontalAlignment="Stretch" Height="4"/>
        <TextBox Name="textBox" Grid.Row="3" AcceptsReturn="True" AcceptsTab="True" TextChanged="TextBox_TextChanged"
                 FontFamily="Courier New" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto"/>
    </Grid>
</Window>
