<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="FrozenColumnsSplitterTemplate" TargetType="grid:FrozenColumnsSplitter">
        <Border HorizontalAlignment="Left"  x:Name="OuterBorder" Width="6" BorderBrush="{StaticResource FrozenColumnsSplitterOuterBorderBrush}" VerticalAlignment="Stretch" Background="{x:Null}" BorderThickness="1,0,1,0">
            <Border Margin="0,0,0,0" x:Name="InnerBorder" Height="Auto" Background="{StaticResource FrozenColumnsSplitterInnerBorderBackground}" BorderThickness="1,0,0,0" BorderBrush="{StaticResource FrozenColumnsSplitterInnerBorderBrush}"  Width="4"/>
        </Border>
        
        <ControlTemplate.Triggers >
            <Trigger Property="IsMouseOver" Value="True">
                <Setter TargetName="OuterBorder" Property="BorderBrush" Value="{StaticResource FrozenColumnsSplitterOuterBorderMouseOverBorderBrush}"/>
                <Setter TargetName="InnerBorder" Property="Background" Value="{StaticResource FrozenColumnsSplitterInnerBorderMouseOverBackground}"/>
                <Setter TargetName="InnerBorder" Property="BorderBrush" Value="{StaticResource FrozenColumnsSplitterInnerBorderMouseOverBorderBrush}"/>
            </Trigger>
        </ControlTemplate.Triggers>
        
    </ControlTemplate>

    <Style x:Key="{telerik:ThemeResourceKey ThemeType=local:CustomTheme, ElementType=grid:FrozenColumnsSplitter}"
        
        TargetType="grid:FrozenColumnsSplitter">
        <Setter Property="Template" Value="{StaticResource FrozenColumnsSplitterTemplate}" />
        <Setter Property="IsTabStop" Value="False" />
        <Setter Property="Visibility" Value="Collapsed"/>
    </Style>
    
</ResourceDictionary>