<Window x:Class="WpfGrids.Example18"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Example18" Height="300" Width="300">

    <!-- Listing 19-18 -->
    <DockPanel>
        <Menu DockPanel.Dock="Top">
            <MenuItem Header="File" />
            <MenuItem Header="Edit" />
        </Menu>

        <StatusBar DockPanel.Dock="Bottom">
            <TextBlock Text="Ready" />
        </StatusBar>

        <TreeView DockPanel.Dock="Left">
            <TreeViewItem Header="Foo" IsExpanded="True">
                <TreeViewItem Header="Quux" />
            </TreeViewItem>
            <TreeViewItem Header="Bar" />
        </TreeView>

        <TextBox Text="Napisz coś..." AcceptsReturn="True" />
    </DockPanel>
</Window>
