<UserControl x:Class="TutorialsSilverlight.DataSourcesInCode"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="503" d:DesignWidth="874" xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml" xmlns:riaControls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.DomainServices" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="394*" />
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <!-- Data binding of the following controls is specified in code. -->
        <StackPanel Orientation="Horizontal" Margin="4">
            <TextBlock Text="Category: " VerticalAlignment="Center"/>
            <ComboBox Name="comboBox1" HorizontalAlignment="Left" Width="186" SelectionChanged="comboBox1_SelectionChanged" />
        </StackPanel>
        <sdk:DataGrid AutoGenerateColumns="True" Grid.Row="1" Name="dataGrid1" />
        <Button Grid.Row="2" Content="Save Changes" Margin="4" Height="23" HorizontalAlignment="Right" Name="btnSaveChanges" Width="102" Click="btnSaveChanges_Click"/>
    </Grid>
</UserControl>
