<Window x:Class="GridViewDataTableFilter.MainWindow"
        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"
        xmlns:local="clr-namespace:GridViewDataTableFilter" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        mc:Ignorable="d"
        d:DataContext="{d:DesignInstance local:MainWindow}"
        Title="MainWindow" Height="450" Width="800">
    <Grid>
        <Grid.DataContext>
            <local:MyViewModel/>
        </Grid.DataContext>
        <telerik:RadGridView ItemsSource="{Binding MyDictionaries}"
                             AutoGenerateColumns="False">
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn Header="TestFilter1" DataMemberBinding="{Binding Dictionary[FirstValue].Title}" FilterMemberPath="Title"/>
                <telerik:GridViewDataColumn Header="TestFilter2" DataMemberBinding="{Binding Dictionary[SecondValue].Title}"/>
                <telerik:GridViewDataColumn Header="TestFilter3" DataMemberBinding="{Binding Dictionary[ThirdValue].Title}"/>
                <telerik:GridViewDataColumn Header="Count" DataMemberBinding="{Binding Dictionary.Count}" />
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
    </Grid>
</Window>
