<Window x:Class="CollectionViewFilter.MainWindow"
        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"
        Title="CollectionViewFilter: Serializable filter using DataTable" Height="350" Width="525">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition />
        </Grid.RowDefinitions>
        <StackPanel Orientation="Horizontal" >
            <TextBlock Text="Filter Expression: " VerticalAlignment="Center" />
            <TextBox Name="_txtFilter" Width="200" KeyDown="_txtFilter_KeyDown"/>
            <Button Content=" Apply Filter " Click="Button_Click" />
        </StackPanel>
        <c1:C1FlexGrid Name="_flex" Grid.Row="1"/>
    </Grid>
</Window>
