<Page
    x:Class="ExpressionEditorSamples.FlexChartFilter"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:ExpressionEditorSamples"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:c1fc="using:C1.Xaml.Chart"
    xmlns:c1ee="using:C1.Xaml.ExpressionEditor"
    mc:Ignorable="d">

    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition Width="Auto"/>
        </Grid.ColumnDefinitions>
        <c1fc:C1FlexChart x:Name="flexChart" />
        <StackPanel Margin="5" Grid.Column="1">
            <c1ee: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>
</Page>
