<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="GridViewIndicatorCellTemplate" TargetType="grid:GridViewIndicatorCell">
        <Grid>

            <Border Background="{TemplateBinding Background}" 
					BorderBrush="{TemplateBinding BorderBrush}" 
					Margin="{TemplateBinding Margin}" 
					BorderThickness="1,0,1,1">
                <ContentPresenter HorizontalAlignment="Left" VerticalAlignment="Center"
					Content="{TemplateBinding Content}" />
            </Border>

            <Rectangle Fill="{StaticResource GridViewIndicatorCellSplitterFill}" Width="1" HorizontalAlignment="Right" />
        </Grid>
    </ControlTemplate>

    <Style 
        
        x:Key="{telerik:ThemeResourceKey ThemeType=local:CustomTheme, ElementType=grid:GridViewIndicatorCell}"
        
        TargetType="grid:GridViewIndicatorCell">

        <Setter Property="Template" Value="{StaticResource GridViewIndicatorCellTemplate}" />
        <Setter Property="Background" Value="{StaticResource GridViewIndicatorBackground}" />
		<Setter Property="BorderBrush" Value="{StaticResource GridViewHeaderCellBorderBrush}" />
        <Setter Property="Margin" Value="0" />
    </Style>


</ResourceDictionary>