<?xml version="1.0" encoding="utf-8"?>
<Window x:Class="ColumnFooters.MainWindow" Title="ColumnFooters Application" Height="350" Width="525" WindowState="Maximized" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="auto" />
            <RowDefinition Height="auto" />
            <RowDefinition />
            <RowDefinition Height="auto" />
            <RowDefinition />
        </Grid.RowDefinitions>
        <TextBlock FontSize="16" FontWeight="Bold" Text="C1FlexGrid: Column Footers" />

        <StackPanel Orientation="Horizontal" Grid.Row="1">
            <TextBlock FontSize="16" Text="Bound Grid" VerticalAlignment="Bottom" />
            <Button Name="_btnPrintBound" Content="Print..." Padding="12 0" Margin="12 2" Click="_btnPrintBound_Click" />
        </StackPanel>
        <c1:C1FlexGrid Name="_flexBound" Grid.Row="2" />
        <StackPanel Orientation="Horizontal" Grid.Row="3">
            <TextBlock FontSize="16" Text="Unbound Grid" VerticalAlignment="Bottom" />
            <Button Name="_btnPrintUnound" Content="Print..." Padding="12 0" Margin="12 2" Click="_btnPrintUnound_Click" />
        </StackPanel>
        <c1:C1FlexGrid Name="_flexUnbound" Grid.Row="4" />
    </Grid>
</Window>