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

    <!-- Example 19-19 -->
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <Menu Grid.ColumnSpan="2">
            <MenuItem Header="Plik" />
            <MenuItem Header="Edycja" />
        </Menu>

        <StatusBar Grid.Row="2" Grid.ColumnSpan="2">
            <TextBlock Text="Gotowy" />
        </StatusBar>

        <TreeView Grid.Row="1">
            <TreeViewItem Header="Ence" IsExpanded="True">
                <TreeViewItem Header="Pence" />
            </TreeViewItem>
            <TreeViewItem Header="... i nic" />
        </TreeView>

        <TextBox Grid.Row="1" Grid.Column="1"
           Text="Napisz coś..." AcceptsReturn="True" />
    </Grid>

</Window>
