<Window x:Class="Test.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:MyNamespace="clr-namespace:FooEditEngine.WPF;assembly=FooEditEngine.WPF"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="24"/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Menu Grid.Row="0">
            <MenuItem Header="Test">
                <MenuItem Header="Load" Click="MenuItem_Click_3"/>
                <MenuItem Header="Save" Click="MenuItem_Click_10"/>
                <MenuItem Header="Enable" Click="MenuItem_Click" IsCheckable="True" Name="Enable"/>
                <MenuItem Header="ShowLineNumber" Click="MenuItem_Click_1" IsCheckable="True" Name="ShowLineNumber"/>
                <MenuItem Header="ShowRuler" Click="MenuItem_Click_8" IsCheckable="True" Name="ShowRuler" />
                <MenuItem Header="WordRap" Click="MenuItem_Click_4" IsCheckable="True" Name="WordRap"/>
                <MenuItem Header="Print" Click="MenuItem_Click_2"/>
                <MenuItem Header="Marker" Click="MenuItem_Click_5"/>
                <MenuItem Header="RTL" Name="RTL" Click="MenuItem_Click_6" IsCheckable="True" />
                <MenuItem Header="XML Hilight" Name="XMLHilight" Click="MenuItem_Click_7" IsCheckable="True" />
                <MenuItem Header="GenerateFolding" Click="MenuItem_Click_9"/>
            </MenuItem>
        </Menu>
        <MyNamespace:FooTextBox x:Name="fooTextBox" Grid.Row="1"/>
    </Grid>
</Window>
