<UserControl x:Class="C1ExpressionEditorSample.C1DataGridIntegration"
             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="300" d:DesignWidth="300">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>
            <StackPanel Orientation="Horizontal">
                <TextBlock Text="Choose Expression to Edit: " />
                <ComboBox x:Name="comboBox" SelectionChanged="combobox_SelectionChanged">
                    <ComboBoxItem Tag="CustomField1">Special Price (New Customers)</ComboBoxItem>
                    <ComboBoxItem Tag="CustomField2">Special Price (Card Holders)</ComboBoxItem>
                </ComboBox>
            </StackPanel>
            <local:ExpressionEditorEE x:Name="editor" Grid.Row="1"/>
        </Grid>
        <local:C1DataGridEE x:Name="dataGrid" Grid.Column="1"/>
    </Grid>
</UserControl>
