<UserControl x:Class="DataGridSamples.DemoGrid"
      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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      d:DataContext="{d:DesignData Source=/DesignData/SampleProducts.xaml}"
      d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <c1:C1DataGrid x:Name="grid"
                           AutoGeneratingColumn="grid_AutoGeneratingColumn" 
                           AutoGeneratedColumns="grid_AutoGeneratedColumns"
                           BeginningNewRow="grid_BeginningNewRow"
                           CanUserAddRows="True" 
                           ShowGroupingPanel="True"
                           CanUserGroup="True"                 
                           ShowVerticalFreezingSeparator="Left"
                           FrozenColumnCount="0"
                           CanUserFreezeColumns="Left"
                           RowHeight="70"
                           ItemsSource="{Binding}">
            <c1:C1AdvancedFiltersBehavior.AdvancedFiltersBehavior>
                <c1:C1AdvancedFiltersBehavior/>
            </c1:C1AdvancedFiltersBehavior.AdvancedFiltersBehavior>
            <c1:C1ValidationBehavior.ValidationBehavior>
                <c1:C1ValidationBehavior/>
            </c1:C1ValidationBehavior.ValidationBehavior>
            <c1:C1RowIndexHeaderBehavior.RowIndexHeaderBehavior>
                <c1:C1RowIndexHeaderBehavior InitialIndex="1"/>
            </c1:C1RowIndexHeaderBehavior.RowIndexHeaderBehavior>
        </c1:C1DataGrid>
    </Grid>
</UserControl>
