<UserControl x:Class="RadGridView_SL4_AR_19.SilverlightControl1"
    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"
             xmlns:my="clr-namespace:RadGridView_SL4_AR_19"
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
    d:DesignHeight="300" d:DesignWidth="400">
    <UserControl.Resources>
        <my:MyViewModel x:Key="MyViewModel"/>
    </UserControl.Resources>
    <Grid x:Name="LayoutRoot" Background="White">
        <telerik:RadGridView x:Name="RadGrid1" Grid.Row="1" IsReadOnly="True" 
                             ItemsSource="{Binding Clubs}"
                             ScrollViewer.HorizontalScrollBarVisibility="Visible"
                             RowDetailsVisibilityMode="VisibleWhenSelected" IsSynchronizedWithCurrentItem="True" 
                             FontFamily="Arial" FontSize="14" AutoGenerateColumns="False" IsFilteringAllowed="False" 
                             SelectionMode="Single" ShowGroupPanel="False" CanUserReorderColumns="False" CanUserFreezeColumns="False" Margin="1">
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" Width="*"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Established}"
                                            Header="Est."  Width="Auto"
                                            DataFormatString="{}{0:yyyy}"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding StadiumCapacity}" 
                                            Header="Stadium"   Width="Auto"
                                            DataFormatString="{}{0:N0}"/>
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>

    </Grid>
</UserControl>
