<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="C1DataGrid_Demo2010.OneTextBoxFilter" mc:Ignorable="d" d:DataContext="{d:DesignData Source=/DesignData/SampleProducts.xaml}" 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:ei="http://schemas.microsoft.com/expression/2010/interactions" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">

    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <Border Margin="0 0 0 10">
            <c1:C1TextBoxBase x:Name="filterTextBox" Width="200" HorizontalAlignment="Left" VerticalAlignment="Center" Watermark="Type here to filter" CornerRadius="0" BorderBrush="#FF929FA1" FocusBrush="Orange" />
        </Border>
        <c1:C1DataGrid x:Name="grid" Grid.Row="1" AutoGeneratingColumn="grid_AutoGeneratingColumn" RowHeight="30" IsReadOnly="true" ItemsSource="{Binding}">
            <c1:C1FullTextSearchBehavior.FullTextSearchBehavior>
                <c1:C1FullTextSearchBehavior Filter="{Binding ElementName=filterTextBox,Path=C1Text}" />
            </c1:C1FullTextSearchBehavior.FullTextSearchBehavior>
        </c1:C1DataGrid>

    </Grid>
</UserControl>