<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"
				
				
			
	>

	<SolidColorBrush x:Key="GridView_GroupPanelItem_IndicatorColor" Color="#FFC5C2C2"/>
<telerik:Expression_DarkTheme x:Key="Theme" />

	
	<telerik:InvertedBooleanToOpacityConverter x:Key="InvertedBooleanToOpacityConverter" />
    <ControlTemplate x:Key="GridViewGroupPanelItemTemplate" TargetType="grid:GridViewGroupPanelItem">
        <StackPanel x:Name="PART_GroupPanelItemStackPanel" Orientation="Horizontal" 
					VerticalAlignment="{TemplateBinding VerticalContentAlignment}" 
					Background="{TemplateBinding Background}">
            <Grid HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}">
                <Grid.RowDefinitions>
                    <RowDefinition MinHeight="4" Height="Auto" />
                    <RowDefinition />
                </Grid.RowDefinitions>
				<Path x:Name="PART_InsertionPoint" Data="M206.66812,170.31108 L212.08199,170.31108 209.36058,173.98834 z" Fill="{StaticResource GridView_GroupPanelItem_IndicatorColor}" HorizontalAlignment="Center" Height="6" Grid.Row="0" Stretch="Fill" Visibility="{TemplateBinding InsertionPointVisibility}" VerticalAlignment="Top" Width="6"/>

				<Grid x:Name="PART_ConnectingLine" Opacity="{Binding IsFirst, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource InvertedBooleanToOpacityConverter}}" Grid.Row="1" Margin="{TemplateBinding Padding}">

					<Path Fill="{StaticResource GridView_GroupPanelItem_IndicatorColor}"  RenderTransformOrigin="0.5,0.5" Stretch="Fill" Stroke="{x:Null}"  Width="6" Data="M3.5118484,4 L0,0 L7,0"  Height="6">
						<Path.RenderTransform>
							<TransformGroup>
								<ScaleTransform ScaleY="-1"/>
								<SkewTransform/>
								<RotateTransform Angle="90"/>
								<TranslateTransform X="9.5006054579016563E-08" Y="-4.6599587300022449E-08"/>
							</TransformGroup>
						</Path.RenderTransform>
					</Path>
				</Grid>
            </Grid>
			<grid:GridViewGroupPanelCell Content="{TemplateBinding Content}"
										 telerik:StyleManager.Theme="{StaticResource Theme}"
										 SortDirection="{Binding Path=SortDirection}"
										 x:Name="PART_Cell"/>
        </StackPanel>
    </ControlTemplate>

    <Style 
        
        x:Key="{telerik:ThemeResourceKey ThemeType=telerik:ExpressionDarkTheme, ElementType=grid:GridViewGroupPanelItem}"
        
        TargetType="grid:GridViewGroupPanelItem">
        <Setter Property="Template" Value="{StaticResource GridViewGroupPanelItemTemplate}" />
		<Setter Property="Background" Value="Transparent" />		
		<Setter Property="Padding" Value="2,0,2,2" />
		<Setter Property="VerticalContentAlignment" Value="Stretch" />
		<Setter Property="HorizontalContentAlignment" Value="Left" />
    </Style>
    
	
</ResourceDictionary>