<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
					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:treelist="clr-namespace:Telerik.Windows.Controls.TreeListView;assembly=Telerik.Windows.Controls.GridView"
					xmlns:controls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView"
				
				
			
	>

	<telerik:TransparentTheme x:Key="Theme" />
<LinearGradientBrush x:Key="GridView_RowIndicatorCellBackground"  EndPoint="1,0.5" StartPoint="0,0.5">
		<GradientStop Color="#BFFFFFFF" Offset="1"/>
		<GradientStop Color="#8CFFFFFF"/>
	</LinearGradientBrush>
<SolidColorBrush x:Key="ControlInnerBorder" Color="#CCFFFFFF" />
<LinearGradientBrush x:Key="GridView_FooterBackground" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#B2AFAFAF"/>
		<GradientStop Color="#CCFFFFFF" Offset="0.3"/>
	</LinearGradientBrush>
<SolidColorBrush x:Key="ControlOuterBorder" Color="#7F000000" />

	

	<telerik:BooleanToOpacityConverter x:Key="BooleanToOpacityConverter" />
	<telerik:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" />
	
    <DataTemplate x:Key="GridViewGroupFooterIndentCellDataTemplate">
        <grid:GridViewGroupFooterIndentCell telerik:StyleManager.Theme="{StaticResource Theme}"/>
    </DataTemplate>

    <ControlTemplate x:Key="GridViewGroupFooterRowTemplate" TargetType="grid:GridViewGroupFooterRow">
        <Border x:Name="PART_GroupFooterRowBorder" 
				BorderBrush="{TemplateBinding BorderBrush}"
				BorderThickness="{TemplateBinding BorderThickness}"
				Background="{TemplateBinding Background}"
				Padding="{TemplateBinding Padding}" 
				VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
				HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}">
			
			<grid:SelectiveScrollingGrid>
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="Auto" />
					<ColumnDefinition Width="Auto" />
					<ColumnDefinition Width="Auto" />
					<ColumnDefinition Width="*" />
				</Grid.ColumnDefinitions>

				<Border x:Name="PART_IndicatorPresenter"
						Width="25"
						VerticalAlignment="Stretch"
						Grid.Column="0"
						Visibility="{TemplateBinding RowIndicatorVisibility}"
						grid:SelectiveScrollingGrid.SelectiveScrollingOrientation="Vertical"
						BorderBrush="{TemplateBinding BorderBrush}"
						BorderThickness="0,0,1,0">

					<Border Background="{StaticResource GridView_RowIndicatorCellBackground}" 
							BorderBrush="{StaticResource ControlInnerBorder}" 
							BorderThickness="1"/>

				</Border>

				<Border x:Name="PART_HierarchyIndent"
						Width="25"
						BorderBrush="{TemplateBinding BorderBrush}"
						
						BorderThickness="0,0,1,0" Grid.Column="2" 
						Visibility="{Binding HasHierarchy, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource BooleanToVisibilityConverter}}"
                        grid:SelectiveScrollingGrid.SelectiveScrollingOrientation="Vertical" />

				<grid:DataCellsPresenter x:Name="PART_DataCellsPresenter" 
										 telerik:StyleManager.Theme="{StaticResource Theme}"
										 Grid.Column="3" />
				
				<grid:IndentPresenter x:Name="PART_IndentPresenter"
									  telerik:StyleManager.Theme="{StaticResource Theme}"
									  IndentLevel="{TemplateBinding IndentLevel}"
									  ItemTemplate="{StaticResource GridViewGroupFooterIndentCellDataTemplate}" 
									  Grid.Column="1"
                                      grid:SelectiveScrollingGrid.SelectiveScrollingOrientation="Vertical" />
				
            </grid:SelectiveScrollingGrid>
        </Border>
    </ControlTemplate>

    <Style 
        
        x:Key="{telerik:ThemeResourceKey ThemeType=telerik:Transparent, ElementType=grid:GridViewGroupFooterRow}"
        
        TargetType="grid:GridViewGroupFooterRow">
        <Setter Property="Template" Value="{StaticResource GridViewGroupFooterRowTemplate}" />

		<Setter Property="Background" Value="{StaticResource GridView_FooterBackground}" />
		<Setter Property="BorderBrush" Value="{StaticResource ControlOuterBorder}" />
		<Setter Property="MinHeight" Value="25" />
		<Setter Property="BorderThickness" Value="0,0,0,1" />
		<Setter Property="VerticalContentAlignment" Value="Stretch" />
		<Setter Property="HorizontalContentAlignment" Value="Stretch" />
		
		<Setter Property="SnapsToDevicePixels" Value="True" />
		
    </Style>
    
	
</ResourceDictionary>