<UserControl x:Class="IdeaBladeSilverlight.MainPage"
    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="300" d:DesignWidth="400" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
    xmlns:df="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.DataForm.Toolkit"
    xmlns:tk="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit">

<tk:BusyIndicator IsBusy="{Binding IsBusy}">
        <tk:BusyIndicator.BusyContent>
            <TextBlock Text="LOADING..." />
        </tk:BusyIndicator.BusyContent>
        <Grid x:Name="LayoutRoot"
      Background="White">
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition />
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>

            <df:DataForm x:Name="EmployeeForm"
                 ItemsSource="{Binding Employees}"
                 EditEnded="DataForm_EditEnded" />

            <sdk:DataGrid ItemsSource="{Binding ElementName=EmployeeForm, Path=CurrentItem.Orders}"
                  Grid.Row="1" />

            <ItemsControl ItemsSource="{Binding Log}" Height="200" Grid.Row="2" />
        </Grid>
    </tk:BusyIndicator>
</UserControl>
