<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
		xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:local="clr-namespace:CustomThemeBasedOnOfficeBlack_GridWpf;assembly=CustomThemeBasedOnOfficeBlack_GridWpf"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        xmlns:grid="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView"
        xmlns:controls="clr-namespace:Telerik.Windows.Controls">

    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="Resources.xaml"/>
    </ResourceDictionary.MergedDictionaries>
    
	<ControlTemplate x:Key="ChildDataControlsPresenterTemplate" TargetType="grid:ChildDataControlsPresenter">
        <ItemsControl Name="PART_ChildDataItemsControl" ItemsSource="{Binding}">
            <ItemsControl.Resources>
                <DataTemplate x:Key="PART_DefaultTemplate">
                    <grid:GridViewDataControl />
                </DataTemplate>
            </ItemsControl.Resources>
        </ItemsControl>
    </ControlTemplate>
    
	<Style x:Key="{telerik:ThemeResourceKey ThemeType=local:CustomTheme, ElementType=grid:ChildDataControlsPresenter}"
        TargetType="grid:ChildDataControlsPresenter">
        <Setter Property="Template" Value="{StaticResource ChildDataControlsPresenterTemplate}" />
    </Style>
    
</ResourceDictionary>