<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"
    
    
    >
    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="Resources.xaml"/>
    </ResourceDictionary.MergedDictionaries>
    

    <ControlTemplate x:Key="ScrollPositionIndicatorTemplate" TargetType="grid:ScrollPositionIndicator">
        <Border HorizontalAlignment="Right"  VerticalAlignment="Center" Width="Auto" Height="Auto"  BorderThickness="1,1,1,1" CornerRadius="3,3,3,3" BorderBrush="{StaticResource ScrollPositionIndicatorBorderBrush}" Background="{x:Null}" >
            <Border BorderThickness="1,1,1,1" CornerRadius="2,2,2,2" BorderBrush="{StaticResource ScrollPositionIndicatorInnerBorderBrush}"  Background="{StaticResource ScrollPositionIndicatorBackground}" >
                <ContentPresenter Margin="40,5,40,6" Content="{TemplateBinding DefaultContent}" />
            </Border>
        </Border>


    </ControlTemplate>

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

        <Setter Property="Template" Value="{StaticResource ScrollPositionIndicatorTemplate}"/>
    </Style>
    
    
</ResourceDictionary>