<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="C1DataGrid_Demo2010.Selection" mc:Ignorable="d" d:DataContext="{d:DesignData Source=/DesignData/SamplePeople.xaml}" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <Grid x:Name="LayoutRoot">
        <c1:C1DataGrid x:Name="grid" CanUserFreezeColumns="None" IsReadOnly="True" AutoGenerateColumns="True" RowHeight="25" AlternatingRowBackground="White" GridLinesVisibility="All" SelectionMode="MultiRange" ColumnHeaderClickAction="Select" ItemsSource="{Binding}" Grid.Row="1">
            <c1:C1RowIndexHeaderBehavior.RowIndexHeaderBehavior>
                <c1:C1RowIndexHeaderBehavior InitialIndex="1" />
            </c1:C1RowIndexHeaderBehavior.RowIndexHeaderBehavior>
        </c1:C1DataGrid>
        <!--<Button Click="btnExportExcel_Click" HorizontalAlignment="Center" VerticalAlignment="Bottom" Content="Export"/>-->
    </Grid>
</UserControl>