<UserControl x:Class="WpfApplication.GridView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition />
            <RowDefinition />
        </Grid.RowDefinitions>
        <telerik:RadGridView Margin="0" 
                             x:Name="ConstituentsList"
                             ItemsSource="{Binding Constituents}"
                             IsFilteringAllowed="True"
                             SelectionMode="Extended" 
                             ShowGroupPanel="False"
                             CanUserFreezeColumns="False"
                             CanUserResizeColumns="True"
                             CanUserReorderColumns="True"
                             AutoGenerateColumns="False"
                             SelectedItem="{Binding SelectedItem, Mode=TwoWay}"
                             FilteringMode="Popup"
                             Grid.Row="0"
                             >
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn Header="ID" Width="53" DataMemberBinding="{Binding CID}" />
                <telerik:GridViewDataColumn Header="$" Width="53" DataMemberBinding="{Binding HasGiving}" />
                <telerik:GridViewDataColumn Header="P" Width="53" DataMemberBinding="{Binding HasPledge}" />
                <telerik:GridViewDataColumn Header="Mail Address" Width="105" DataMemberBinding="{Binding C_MailAddress1}" />
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>

        <Rectangle x:Name="Rect" Height="50" Width="50" Fill="Red" telerik:DragDropManager.AllowDrag="True" Grid.Row="1"/>

        <StackPanel Grid.Row="2">
            <Button Content="Show window" Click="Button_Click" />
            <Button Content="Hide window" Click="Button_Click1" />
        </StackPanel>
    </Grid>
</UserControl>
