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

    <ControlTemplate x:Key="DataCellsPresenterTemplate" TargetType="grid:DataCellsPresenter">
        <StackPanel Orientation="Horizontal" Margin="-1,0,0,0">
            <Border Width="1" Background="#FF7FB7DA" />
            <grid:GridViewCellsPanel x:Name="PART_FrozenGridViewCellsPanel"/>
            <grid:FrozenColumnsSplitter x:Name="PART_FrozenColumnsSplitter" />
            <grid:HorizontalScrollPanel x:Name="PART_PartialScrollContainer" >
                <grid:GridViewCellsPanel Name="PART_GridViewCellsPanel" Background="Transparent" />
            </grid:HorizontalScrollPanel>
        </StackPanel>
    </ControlTemplate>

    <Style x:Key="{telerik:ThemeResourceKey ThemeType=local:MyCustomTheme, ElementType=grid:DataCellsPresenter}"
        TargetType="grid:DataCellsPresenter">
        <Setter Property="Template" Value="{StaticResource DataCellsPresenterTemplate}" />
        <Setter Property="IsTabStop" Value="False" />
    </Style>
    
</ResourceDictionary>