<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="ControlOuterBorder" Color="#FF83A5D2" />
<LinearGradientBrush x:Key="GridView_RowDetailsBackground" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FFA9DAF4" Offset="0.03"/>
		<GradientStop Color="#FFD9EFFC" Offset="0.354"/>
	</LinearGradientBrush>
<SolidColorBrush x:Key="ControlInnerBorder" Color="#FFFFFFFF" />

	

	<ControlTemplate x:Key="DetailsPresenterTemplate" TargetType="grid:DetailsPresenter">
		<Border x:Name="DetailsBorder" 
				BorderThickness="0,1" 
				BorderBrush="{StaticResource ControlOuterBorder}">

			

			<Border BorderThickness="{TemplateBinding BorderThickness}" 
					BorderBrush="{TemplateBinding BorderBrush}" 
					Background="{TemplateBinding Background}">
				<ContentPresenter x:Name="PART_ContentPresenter" 
								  Margin="{TemplateBinding Padding}" 
								  VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
								  HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" />
			</Border>
		</Border>

		
		<ControlTemplate.Triggers>
			<Trigger Property="Visibility" Value="Visible">
				<Setter TargetName="DetailsBorder" Property="Visibility" Value="Visible" />
			</Trigger>
		</ControlTemplate.Triggers>
		

	</ControlTemplate>
	<Style 
        
		x:Key="{telerik:ThemeResourceKey ThemeType=
		vistaCopy:VistaThemeCopyTheme , ElementType=grid:DetailsPresenter}"
		
		TargetType="grid:DetailsPresenter">
		<Setter Property="Template" Value="{StaticResource DetailsPresenterTemplate}" />

		<Setter Property="IsTabStop" Value="False" />
		<Setter Property="Background" Value="{StaticResource GridView_RowDetailsBackground}" />
		<Setter Property="BorderBrush" Value="{StaticResource ControlInnerBorder}" />
		<Setter Property="BorderThickness" Value="1" />
		<Setter Property="Padding" Value="0" />
		<Setter Property="VerticalContentAlignment" Value="Top" />
		<Setter Property="HorizontalContentAlignment" Value="Left" />

		
		<Setter Property="SnapsToDevicePixels" Value="True" />
		
	</Style>
	
	
</ResourceDictionary>