<UserControl
      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:c1="http://schemas.componentone.com/winfx/2006/xaml"
      xmlns:helpers="clr-namespace:Helpers"
      xmlns:local="clr-namespace:DataGridSamples"
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      x:Class="DataGridSamples.FullTextSearch" 
      mc:Ignorable="d" 
      d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <c1:C1TextBoxBase x:Name="filter" Margin="0 0 0 10"
                                       Width="200"
                                       HorizontalAlignment="Left"
                                       VerticalAlignment="Center" TextChanged="filter_TextChanged"/>
        <c1:C1DataGrid x:Name="grid" Grid.Row="1"
                            AutoGeneratingColumn="grid_AutoGeneratingColumn" 
                            CanUserAddRows="False" 
                            RowHeight="30"
                            IsReadOnly="true">
            <c1:C1FullTextSearchBehavior.FullTextSearchBehavior>
                <c1:C1FullTextSearchBehavior/>
            </c1:C1FullTextSearchBehavior.FullTextSearchBehavior>
        </c1:C1DataGrid>
    </Grid>
</UserControl>
