<UserControl x:Class="C1ExpressionEditorSample.FlexChart"
             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:local="clr-namespace:C1ExpressionEditorSample"
             xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml"
             mc:Ignorable="d" 
             d:DesignHeight="500" d:DesignWidth="800">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition Width="Auto"/>
        </Grid.ColumnDefinitions>
        <c1:C1FlexChart x:Name="flexChart" />
        <StackPanel Margin="5" Grid.Column="1">
            <c1:C1ExpressionEditor x:Name="editor" Margin="5" Width="200" Height="200"/>
            <CheckBox x:Name="Check" Content="Auto Filter" Margin="5" Checked="Check_Checked" Unchecked="Check_Unchecked" />
            <Button x:Name="Filter" Content="Filter" Margin="5" Click="Filter_Click" />
            <Button x:Name="ClearFilter" Content="ResetFilter" Margin="5" Click="ClearFilter_Click" />
        </StackPanel>
    </Grid>
</UserControl>
