<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
					xmlns:vistaCopy="clr-namespace:VistaThemeCopy"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
					
				
					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;assembly=Telerik.Windows.Controls.GridView"
					xmlns:dataPager="clr-namespace:Telerik.Windows.Controls.DataPager;assembly=Telerik.Windows.Controls.GridView"
				
				
			
					>
    
	<SolidColorBrush x:Key="GridView_ToggleButtonForeground" Color="Black" />
<SolidColorBrush x:Key="GridView_ToggleButtonBorder" Color="#FF898C95" />
<LinearGradientBrush x:Key="GridView_ToggleButtonBackground" EndPoint="0.854,0.854" StartPoint="0.146,0.146">
		<GradientStop Color="#FFCBCFD5" Offset="0"/>
		<GradientStop Color="#FFF6F6F6" Offset="1"/>
	</LinearGradientBrush>

	
	<ControlTemplate x:Key="GridViewToggleButtonTemplate" TargetType="controls:GridViewToggleButton">
		<Border Background="Transparent" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
			

			<Border Width="9" Height="9" 
					Background="{TemplateBinding Background}"
					BorderBrush="{TemplateBinding BorderBrush}"					
					BorderThickness="{TemplateBinding BorderThickness}" 
					VerticalAlignment="{TemplateBinding VerticalContentAlignment}" 
					HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}">
				<Grid>
					<Path x:Name="plus" Fill="{TemplateBinding Foreground}" Stretch="Fill" Stroke="{x:Null}" Margin="{TemplateBinding Padding}" RenderTransformOrigin="0.5,0.504199981689453" Data="M1.937,0 L2.937,0 2.937,2.0209999 5,2.0209999 5,3.0209999 2.937,3.0209999 2.937,5 1.937,5 1.937,3.0209999 0,3.0209999 0,2.0209999 1.937,2.0209999 z" Width="5" Height="5">
						<Path.RenderTransform>
							<TransformGroup>
								<ScaleTransform ScaleX="1" ScaleY="1"/>
								<SkewTransform AngleX="0" AngleY="0"/>
								<RotateTransform Angle="90"/>
								<TranslateTransform X="0" Y="0"/>
							</TransformGroup>
						</Path.RenderTransform>
					</Path>
					<Rectangle x:Name="minus" Fill="{TemplateBinding Foreground}" Stroke="{x:Null}" RadiusX="0" RadiusY="0" Margin="{TemplateBinding Padding}" VerticalAlignment="Center" Height="1" HorizontalAlignment="Center" Width="5" Opacity="0"/>
				</Grid>
			</Border>


		</Border>
		
		<ControlTemplate.Triggers>
			<Trigger Property="IsChecked" Value="True">
				<Setter TargetName="plus"  Property="Opacity" Value="0" />
				<Setter TargetName="minus"  Property="Opacity" Value="1" />
			</Trigger>
		</ControlTemplate.Triggers>
		
	</ControlTemplate>

	<Style TargetType="controls:GridViewToggleButton"
        
		x:Key="{telerik:ThemeResourceKey ThemeType=
		vistaCopy:VistaThemeCopyTheme , ElementType=controls:GridViewToggleButton}"
		
		>

		<Setter Property="BorderThickness" Value="1" />
		<Setter Property="Foreground" Value="{StaticResource GridView_ToggleButtonForeground}" />
		<Setter Property="BorderBrush" Value="{StaticResource GridView_ToggleButtonBorder}" />
		<Setter Property="Background" Value="{StaticResource GridView_ToggleButtonBackground}" />
		<Setter Property="VerticalContentAlignment" Value="Center" />
		<Setter Property="HorizontalContentAlignment" Value="Center" />
		<Setter Property="Padding" Value="0" />
		<Setter Property="Template" Value="{StaticResource GridViewToggleButtonTemplate}" />
		
		<Setter Property="SnapsToDevicePixels" Value="True" />
		
	</Style>
	
	
</ResourceDictionary>