<?xml version="1.0" encoding="utf-8"?>
<UserControl mc:Ignorable="d" x:Class="MainTestApplication.Grouping" 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>
		<!-- styles used by controls in this app -->
		<Grid.Resources>          
			<Style x:Key="gridStyle" TargetType="Control">
				<Setter Property="BorderBrush" Value="#FFA3AEB9" />
				<Setter Property="BorderThickness" Value="1" />
			</Style>
		</Grid.Resources>
		<Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
			<RowDefinition />
		</Grid.RowDefinitions>
		<!--<Grid.ColumnDefinitions>
			<ColumnDefinition Width="618"/>
			<ColumnDefinition/>
		</Grid.ColumnDefinitions>-->
		<StackPanel Orientation="Horizontal" d:LayoutOverrides="Height" Margin="0,0,0,10">
			<TextBlock Text=" Find Name:" VerticalAlignment="Center" Margin="0,0,5,0" />
			<TextBox x:Name="_txtFind" Width="120" TextChanged="_txtFind_TextChanged" />
		</StackPanel>
		<StackPanel Grid.Row="1" Orientation="Horizontal">
			<CheckBox x:Name="_chkShowGroups" Content="Show Groups" IsChecked="true" VerticalAlignment="Center" Click="_chkShowGroups_Click" Margin="5" />
			<CheckBox x:Name="_chkGroupByInitial" Content="Group Countries by Initials" IsChecked="true" Click="_chkGroupByInitial_Click" VerticalAlignment="Center" Margin="5" />
			<CheckBox x:Name="_chkAllowMerging" Content="Merge Cells" IsChecked="false" Click="_chkAllowMerging_Click" VerticalAlignment="Center" Margin="5" />
			<CheckBox x:Name="_chkKeepCurrentVisible" Content="Keep current visible" Click="_chkKeepCurrentVisible_Click" VerticalAlignment="Center" Margin="5" />
			<CheckBox x:Name="_chkFreezePanes" Content="Freeze Panes" Click="_chkFreezePanes_Click" VerticalAlignment="Center" Margin="5" />
		</StackPanel>
		<c1:C1FlexGrid x:Name="_flexGroup" Grid.Row="2" AllowMerging="All" Style="{StaticResource gridStyle}" MinColumnWidth="10" MaxColumnWidth="300" BorderThickness="1" />
	</Grid>
</UserControl>