<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="C1DataGrid_Demo2010.AutoMerging" mc:Ignorable="d" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:c1datagrid="clr-namespace:C1.Silverlight.DataGrid;assembly=C1.Silverlight.DataGrid.5">
	<UserControl.Resources>
		
	</UserControl.Resources>
    
    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>

        <StackPanel Margin="0 0 0 10" Orientation="Horizontal">
            <TextBlock Text="Strategy: " />
            <ComboBox x:Name="cmbStrategy" Width="200" SelectionChanged="cmbStrategy_SelectionChanged" />
			<ComboBox x:Name="cmbLines" Margin="5 0 0 0" />
        </StackPanel>
        
        <c1datagrid:C1DataGrid x:Name="grid" Grid.Row="1" SelectionMode="SingleCell" CanUserGroup="True" CanUserAddRows="False" AlternatingRowBackground="White" RowBackground="White" GridLinesVisibility="All" />
    </Grid>
</UserControl>