<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="ColumnPicker.MainPage" mc:Ignorable="d" FontFamily="Segoe UI" FontSize="13" d:DesignHeight="300" d:DesignWidth="600" 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 />
        </Grid.RowDefinitions>
        
        <StackPanel Orientation="Vertical">
            <TextBlock Text="C1FlexGrid" FontSize="14" FontWeight="Bold" />
            <TextBlock Text="Right-click column headers to select which columns are displayed." />
            <TextBlock Text="Right-click cells to cut/copy/paste/clear the selection." />
            <StackPanel Orientation="Horizontal">
                <Button Content="Save Current Layout" Click="SaveLayout_Click" Margin="4 0" Padding="6 2" />
                <Button Content="Load Saved Layout" Click="LoadLayout_Click" Margin="4 0" Padding="6 2" />
            </StackPanel>
        </StackPanel>
        <c1:C1FlexGrid Name="_flex" Grid.Row="1" />
    </Grid>
</UserControl>