<UserControl x:Class="InputPanelSample.IntegrationC1DataGrid"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml" 
             xmlns:local="clr-namespace:InputPanelSample"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <UserControl.Resources>
        <Style x:Key="FootBorder" TargetType="Border">
            <Setter Property="Background" Value="White" />
        </Style>
    </UserControl.Resources>
    <Grid>
        <c1:C1DataGrid ItemsSource="{Binding CustomerCollectionView}" RowBackground="#E8E8E8" AlternatingRowBackground="White">
            <c1:C1DataGrid.RowDetailsTemplate>
                <DataTemplate>
                    <c1:C1InputPanel CurrentItem="{Binding .}" 
                                     ValidationBackground="White"
                                     FooterBorderStyle="{StaticResource FootBorder}"/>
                </DataTemplate>
            </c1:C1DataGrid.RowDetailsTemplate>
        </c1:C1DataGrid>
    </Grid>
</UserControl>
