<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
	x:Class="SilverlightApplication1.MainPage">
    <Grid x:Name="LayoutRoot" DataContext="{Binding Source={StaticResource SampleDataSource}}" Background="White">
        <Grid.Resources>
            <DataTemplate x:Key="dt">
                <StackPanel Orientation="Horizontal">
                    <Image Stretch="None"
                      Source="{Binding Property1}"
                      Margin="0,0,5,0"/>
                    <TextBlock Text="{Binding Property2}"
                          VerticalAlignment="Center" />
                </StackPanel>
            </DataTemplate>
        </Grid.Resources>
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition Height="32"/>
        </Grid.RowDefinitions>
        <telerik:RadGridView x:Name="radGridView1" AutoGenerateColumns="False" ItemsSource="{Binding Collection}"/>
        <telerik:RadButton Grid.Row="1" Content="Create Dynamic Column" Click="RadButton_Click"/>
	</Grid>
</UserControl>