<UserControl x:Class="_206846_RadGridView_RowStyle.SilverlightControl1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
	xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls" xmlns:Telerik_Windows_Controls_GridView="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView" xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows" 
	xmlns:telerikGridView="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView" 
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
    Width="600" Height="480">
	<UserControl.Resources>
		<!--HEADER ROW STYLE-->
		<telerik:Office_BlackTheme x:Key="Theme"/>
		<DataTemplate x:Key="GridViewHeaderIndentCellDataTemplate">
			<Telerik_Windows_Controls_GridView:GridViewHeaderIndentCell telerik:StyleManager.Theme="{StaticResource Theme}"/>
		</DataTemplate>
		<Color x:Key="Transparent">Transparent</Color>
		<SolidColorBrush x:Key="GridViewHeaderRowDataCellsPresenterBackground" Color="{StaticResource Transparent}"/>
		<ControlTemplate x:Key="GridViewHeaderRowTemplate" TargetType="Telerik_Windows_Controls_GridView:GridViewHeaderRow">
			<Border Margin="{TemplateBinding Margin}" MinHeight="{TemplateBinding MinHeight}" x:Name="PART_GridViewHeaderRowBorder" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}">
				<Grid>
					<Grid.ColumnDefinitions>
						<ColumnDefinition Width="Auto"/>
						<ColumnDefinition Width="Auto"/>
						<ColumnDefinition Width="Auto"/>
					</Grid.ColumnDefinitions>
					<Border Grid.ColumnSpan="3" Background="{TemplateBinding Background}" BorderBrush="#FFEEEEEE" BorderThickness="0,0,1,1"/>
					<Telerik_Windows_Controls_GridView:IndicatorPresenter MinHeight="{TemplateBinding MinHeight}" x:Name="PART_IndicatorPresenter" Visibility="{TemplateBinding RowIndicatorVisibility}" Grid.Column="0" telerik:StyleManager.Theme="{StaticResource Theme}"/>
					<Telerik_Windows_Controls_GridView:IndentPresenter MinHeight="{TemplateBinding MinHeight}" x:Name="PART_IndentPresenter" ItemTemplate="{StaticResource GridViewHeaderIndentCellDataTemplate}" Grid.Column="1" telerik:StyleManager.Theme="{StaticResource Theme}" IndentLevel="{TemplateBinding IndentLevel}"/>
					<Telerik_Windows_Controls_GridView:DataCellsPresenter Background="{StaticResource GridViewHeaderRowDataCellsPresenterBackground}" MinHeight="{TemplateBinding MinHeight}" x:Name="PART_DataCellsPresenter" Grid.Column="2" telerik:StyleManager.Theme="{StaticResource Theme}"/>
				</Grid>
			</Border>
		</ControlTemplate>
		<Color x:Key="GridViewHeaderGradientColor4">#FFF8F8F9</Color>
		<Color x:Key="GridViewHeaderGradientColor3">#FFDBDEE1</Color>
		<Color x:Key="GridViewHeaderGradientColor1">#FFDFE2E5</Color>
		<Color x:Key="GridViewHeaderGradientColor2">#FFC7CBD1</Color>
		<LinearGradientBrush x:Key="GridViewHeaderBackground" EndPoint="0.5,1" StartPoint="0.5,0">
			<GradientStop Color="{StaticResource GridViewHeaderGradientColor4}" Offset="0"/>
			<GradientStop Color="{StaticResource GridViewHeaderGradientColor3}" Offset="1"/>
			<GradientStop Color="{StaticResource GridViewHeaderGradientColor1}" Offset="0.4"/>
			<GradientStop Color="{StaticResource GridViewHeaderGradientColor2}" Offset="0.4"/>
		</LinearGradientBrush>
		<Color x:Key="GridViewElementOuterBorderBrushColor">#FFB3B3B3</Color>
		<SolidColorBrush x:Key="GridViewHeaderCellBorderBrush" Color="{StaticResource GridViewElementOuterBorderBrushColor}"/>
		<Style x:Key="GridViewHeaderRowStyle" TargetType="Telerik_Windows_Controls_GridView:GridViewHeaderRow">
			<Setter Property="Template" Value="{StaticResource GridViewHeaderRowTemplate}"/>
			<Setter Property="Background" Value="{StaticResource GridViewHeaderBackground}"/>
			<Setter Property="MinHeight" Value="26"/>
			<Setter Property="BorderBrush" Value="{StaticResource GridViewHeaderCellBorderBrush}"/>
			<Setter Property="BorderThickness" Value="0,0,1,1"/>
			<Setter Property="Margin" Value="0"/>
			<Setter Property="Padding" Value="0"/>
		</Style>
		<Color x:Key="GridViewElementSelectedColorStop2">#FFFFD9AA</Color>
		<Color x:Key="GridViewHeaderMouseOverColor">#FFFEE07A</Color>
		<Color x:Key="GridViewElementSelectedColorStop3">#FFFFBC6F</Color>
		<Color x:Key="GridViewElementSelectedColorStop1">#FFFFAB3F</Color>
		<LinearGradientBrush x:Key="GridViewHeaderCellSortedBackground" EndPoint="0.5,1" StartPoint="0.5,0">
			<GradientStop Color="{StaticResource GridViewElementSelectedColorStop2}" Offset="0"/>
			<GradientStop Color="{StaticResource GridViewHeaderMouseOverColor}" Offset="1"/>
			<GradientStop Color="{StaticResource GridViewElementSelectedColorStop3}" Offset="0.4"/>
			<GradientStop Color="{StaticResource GridViewElementSelectedColorStop1}" Offset="0.4"/>
		</LinearGradientBrush>
		<Color x:Key="GridViewMouseOverColor">#FFFDBA64</Color>
		<SolidColorBrush x:Key="GridViewHeaderCellMouseOverBorderBrush" Color="{StaticResource GridViewMouseOverColor}"/>
		<SolidColorBrush x:Key="GridViewHeaderCellSortingAndFilteringContentBackground" Color="{StaticResource Transparent}"/>
		<Color x:Key="GridViewForegroundColor">#FF000000</Color>
		<SolidColorBrush x:Key="GridViewHeaderCellSortIndicatorFill" Color="{StaticResource GridViewForegroundColor}"/>
		
		<!--HEADER CELL STYLE-->
		<ControlTemplate x:Key="GridViewHeaderCellTemplate" TargetType="Telerik_Windows_Controls_GridView:GridViewHeaderCell">
			<Grid>
				<vsm:VisualStateManager.VisualStateGroups>
					<vsm:VisualStateGroup x:Name="CommonStates">
						<vsm:VisualState x:Name="Normal"/>
						<vsm:VisualState x:Name="MouseOver">
							<Storyboard>
								<ObjectAnimationUsingKeyFrames Storyboard.TargetName="GridViewHeaderCell_Over" Storyboard.TargetProperty="Opacity">
									<DiscreteObjectKeyFrame KeyTime="0:0:0" Value="1"/>
								</ObjectAnimationUsingKeyFrames>
								<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="GridViewHeaderCell_Over" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)">
									<SplineColorKeyFrame KeyTime="00:00:00" Value="#FF5C5C5C"/>
								</ColorAnimationUsingKeyFrames>
								<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="GridViewHeaderCell_Over" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)">
									<SplineColorKeyFrame KeyTime="00:00:00" Value="#FF3B3B3B"/>
								</ColorAnimationUsingKeyFrames>
								<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="GridViewHeaderCell_Selected" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)">
									<SplineColorKeyFrame KeyTime="00:00:00" Value="#FF333333"/>
								</ColorAnimationUsingKeyFrames>
							</Storyboard>
						</vsm:VisualState>
					</vsm:VisualStateGroup>
					<vsm:VisualStateGroup x:Name="SortingStates">
						<vsm:VisualState x:Name="Ascending">
							<Storyboard>
								<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_SortIndicator" Storyboard.TargetProperty="Visibility">
									<DiscreteObjectKeyFrame KeyTime="0:0:0" Value="Visible"/>
								</ObjectAnimationUsingKeyFrames>
								<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_SortIndicator" Storyboard.TargetProperty="RenderTransform">
									<DiscreteObjectKeyFrame KeyTime="0:0:0">
										<DiscreteObjectKeyFrame.Value>
											<ScaleTransform ScaleX="1" ScaleY="-1"/>
										</DiscreteObjectKeyFrame.Value>
									</DiscreteObjectKeyFrame>
								</ObjectAnimationUsingKeyFrames>
								<ObjectAnimationUsingKeyFrames Storyboard.TargetName="GridViewHeaderCell_Selected" Storyboard.TargetProperty="Opacity">
									<DiscreteObjectKeyFrame KeyTime="0:0:0" Value="1"/>
								</ObjectAnimationUsingKeyFrames>
								<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="GridViewHeaderCell_Selected" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)">
									<SplineColorKeyFrame KeyTime="00:00:00" Value="#FF424242"/>
								</ColorAnimationUsingKeyFrames>
							</Storyboard>
						</vsm:VisualState>
						<vsm:VisualState x:Name="Descending">
							<Storyboard>
								<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_SortIndicator" Storyboard.TargetProperty="Visibility">
									<DiscreteObjectKeyFrame KeyTime="0:0:0" Value="Visible"/>
								</ObjectAnimationUsingKeyFrames>
								<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_SortIndicator" Storyboard.TargetProperty="RenderTransform">
									<DiscreteObjectKeyFrame KeyTime="0:0:0">
										<DiscreteObjectKeyFrame.Value>
											<ScaleTransform ScaleX="1" ScaleY="1"/>
										</DiscreteObjectKeyFrame.Value>
									</DiscreteObjectKeyFrame>
								</ObjectAnimationUsingKeyFrames>
								<ObjectAnimationUsingKeyFrames Storyboard.TargetName="GridViewHeaderCell_Selected" Storyboard.TargetProperty="Opacity">
									<DiscreteObjectKeyFrame KeyTime="0:0:0" Value="1"/>
								</ObjectAnimationUsingKeyFrames>
								<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="GridViewHeaderCell_Selected" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)">
									<SplineColorKeyFrame KeyTime="00:00:00" Value="#FF424242"/>
								</ColorAnimationUsingKeyFrames>
							</Storyboard>
						</vsm:VisualState>
						<vsm:VisualState x:Name="None">
							<Storyboard>
								<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_SortIndicator" Storyboard.TargetProperty="Visibility">
									<DiscreteObjectKeyFrame KeyTime="0:0:0" Value="Collapsed"/>
								</ObjectAnimationUsingKeyFrames>
								<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="PART_DistinctFilterControl" Storyboard.TargetProperty="(Control.Foreground).(SolidColorBrush.Color)">
									<SplineColorKeyFrame KeyTime="00:00:00" Value="#FF000000"/>
								</ColorAnimationUsingKeyFrames>
								<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="PART_SortIndicator" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
									<SplineColorKeyFrame KeyTime="00:00:00" Value="#FFCCCCCC"/>
								</ColorAnimationUsingKeyFrames>
							</Storyboard>
						</vsm:VisualState>
					</vsm:VisualStateGroup>
				</vsm:VisualStateManager.VisualStateGroups>
				<Border x:Name="GridViewHeaderCell" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}"/>
				<Border x:Name="GridViewHeaderCell_Over" Opacity="0" Background="#FF000000" BorderThickness="{TemplateBinding BorderThickness}">
					<Border.BorderBrush>
						<SolidColorBrush Color="#FFFDBA64"/>
					</Border.BorderBrush>
				</Border>
				<Border x:Name="GridViewHeaderCell_Selected" Opacity="0" Background="#FF000000" BorderBrush="{StaticResource GridViewHeaderCellSortIndicatorFill}" BorderThickness="{TemplateBinding BorderThickness}"/>
				<Grid x:Name="PART_HeaderCellGrid">
					<Grid.ColumnDefinitions>
						<ColumnDefinition Width="*"/>
						<ColumnDefinition Width="Auto"/>
					</Grid.ColumnDefinitions>
					<Telerik_Windows_Controls_GridView:AlignmentContentPresenter Margin="3,4,2,3" VerticalAlignment="Center" Grid.Column="0" TextAlignment="{TemplateBinding TextAlignment}"/>
					<Grid HorizontalAlignment="Right" Background="{StaticResource GridViewHeaderCellSortingAndFilteringContentBackground}" Grid.Column="1">
						<Grid.ColumnDefinitions>
							<ColumnDefinition Width="Auto"/>
							<ColumnDefinition Width="Auto"/>
						</Grid.ColumnDefinitions>
						<Path Height="3" HorizontalAlignment="Left" Margin="1,0,4,0" x:Name="PART_SortIndicator" VerticalAlignment="Center" Width="5" RenderTransformOrigin="0.5,0.5" Data="M0,0 L1,0 2,0 3,0 4,0 5,0 5,1 4,1 4,2 3,2 3,3 2,3 2,2 1,2 1,1 0,1 0,0 z" Stretch="Fill">
							<Path.Fill>
								<SolidColorBrush Color="#FF000000"/>
							</Path.Fill>
							<Path.RenderTransform>
								<TransformGroup>
									<ScaleTransform ScaleX="1" ScaleY="-1"/>
									<SkewTransform AngleX="0" AngleY="0"/>
									<RotateTransform Angle="0"/>
									<TranslateTransform X="0" Y="0"/>
								</TransformGroup>
							</Path.RenderTransform>
						</Path>
						<Telerik_Windows_Controls_GridView:FilteringDropDown Margin="0,0,8,0" x:Name="PART_DistinctFilterControl" Visibility="{TemplateBinding FilteringUIVisibility}" Grid.Column="1" telerik:StyleManager.Theme="{StaticResource Theme}" Foreground="#FFCCCCCC"/>
					</Grid>
				</Grid>
			</Grid>
		</ControlTemplate>
		<Color x:Key="GridViewElementInnerBorderBrushColor">#FFEEEEEE</Color>
		<SolidColorBrush x:Key="GridViewHeaderCellInnerBorderBrush" Color="{StaticResource GridViewElementInnerBorderBrushColor}"/>
		<Style x:Key="GridViewHeaderCellStyle" TargetType="Telerik_Windows_Controls_GridView:GridViewHeaderCell">
			<Setter Property="Template" Value="{StaticResource GridViewHeaderCellTemplate}"/>
			<Setter Property="Background" Value="#FF333333"/>
			<Setter Property="BorderThickness" Value="0,0,2,1"/>
			<Setter Property="BorderBrush">
				<Setter.Value>
					<SolidColorBrush Color="#FF595959"/>
				</Setter.Value>
			</Setter>
			<Setter Property="Foreground" Value="#FFCCCCCC"/>
		</Style>
	</UserControl.Resources>

	<Grid x:Name="LayoutRoot" Background="White">
		<telerikGridView:RadGridView x:Name="RadGridView1" UseAlternateRowStyle="False" ColumnsWidthMode="Fill" AutoGenerateColumns="True" />
	</Grid>

</UserControl>
