<Window x:Class="ClientSideQuerying"
        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="Client-Side Querying" Height="545" Width="943">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition />
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <!-- Data binding of the following controls is specified in code. -->
        <TextBlock Grid.Row="0" HorizontalAlignment="Left" Margin="10,10,0,0" Name="textBlock1" Text="Non-discontinued Products with Unit Price Higher than $30" />
        <TextBlock Grid.Row="0" HorizontalAlignment="Left" Margin="351,10,0,0" Name="textBlock2" Text="Count:" />
        <TextBlock Grid.Row="0" HorizontalAlignment="Left" Margin="390,10,0,0" Name="textBlockCount" Text="Count" />
        <c1:C1FlexGrid Grid.Row="1" AutoGenerateColumns="True" Margin="10,10,0,0" Name="dataGrid1" />
        <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Right">
            <Button Margin="0,10,5,5" Name="Button1">Raise Seafood Prices by 20%</Button>
            <Button Margin="0,10,5,5" Name="Button2">Lower Seafood Prices by 20%</Button>
            <Button Width="70" Margin="10,10,5,5" Name="Button3">Add</Button>
        </StackPanel>
    </Grid>
</Window>
