<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="C1DataGrid_Demo2010.AutoFilter" 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:c1="http://schemas.componentone.com/winfx/2006/xaml">
    <UserControl.Resources>
        <Style x:Key="VirtualizingMultiValueFilter" TargetType="c1:DataGridMultiValueFilter">
            <Setter Property="ItemsPanel">
                <Setter.Value>
                    <ItemsPanelTemplate>
                        <VirtualizingStackPanel />
                    </ItemsPanelTemplate>
                </Setter.Value>
            </Setter>
            <Setter Property="Width" Value="200" />
        </Style>
    </UserControl.Resources>

    <c1:C1DataGrid x:Name="dataGrid" HeadersVisibility="Column" CanUserGroup="True" CanUserEditRows="False" CanUserAddRows="False" AutoGenerateColumns="True" FilterLoading="dataGrid_FilterLoading" FilterOpened="dataGrid_FilterOpened" />

</UserControl>