<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="ColumnFooters.MainPage" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="400" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">

    <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 0" 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 0" Click="_btnPrintUnound_Click" />
        </StackPanel>
        <c1:C1FlexGrid Name="_flexUnbound" Grid.Row="4" />
    </Grid>
</UserControl>