<Window x:Class="Ticket_566804_RadGridView.MainWindow"
        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"
        xmlns:my="clr-namespace:Ticket_566804_RadGridView"
        Title="MainWindow" Height="700" Width="700">
    <Window.Resources>
        <my:MyViewModel x:Key="MyViewModel"/>
    </Window.Resources>
    <Grid DataContext="{StaticResource MyViewModel}">
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <telerik:RadGridView 
                     ItemsSource="{Binding Clubs}"
                     AutoExpandGroups="True"
                     AutoGenerateColumns="False"
                     CanUserDeleteRows="False"
                     CanUserFreezeColumns="False"
                     CanUserInsertRows="False"
                     CanUserResizeColumns="True"
                     CanUserSortColumns="True"
                     EnableColumnVirtualization="True"
                     EnableRowVirtualization="True"
                     FontSize="16"
                     FontWeight="Bold"
                     IsReadOnly="True"
                     MouseDoubleClick="HotListEntriesGrid_MouseDoubleClick"
                     Name="HotListEntriesGrid"
                     SelectionChanged="HotListEntriesGrid_SelectionChanged"
                     SelectionUnit="FullRow"
                     ScrollViewer.CanContentScroll="True"
                     ScrollViewer.HorizontalScrollBarVisibility="Auto"
                     ScrollViewer.VerticalScrollBarVisibility="Auto"
                     ToolTip="Matching Hot List Entries">
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Name,        Mode=OneWay}"
                                    Header="Name"
                                    Width="1.5*" />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Established, Mode=OneWay}"
                                    Header="Established"
                                    Width="75" />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding StadiumCapacity,   Mode=OneWay}"
                                    Header="StadiumCapacity"
                                    Width="150" />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Name, Mode=OneWay}"
                                    Header="Alarm Class"
                                    Width="175" />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Name,     Mode=OneWay}"
                                    Header="Notes"
                                    Width="1*" />
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
    </Grid>
</Window>
