<UserControl x:Class="GroupColumnHeaders_WPF.CommonHeader"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" >
	<UserControl.Resources>
		<LinearGradientBrush x:Key="GridViewHeaderBackground" EndPoint="0.5,1" StartPoint="0.5,0">
		<GradientStop Color="#FF5B5B5B" Offset="1"/>
		<GradientStop Color="#FF868686"/>
		<GradientStop Color="#FF4F4F4F" Offset="0.42"/>
		<GradientStop Color="#FF0E0E0E" Offset="0.43"/>
	</LinearGradientBrush>
	</UserControl.Resources>
	<Border x:Name="LayoutRoot" BorderThickness="0,0,1,1" BorderBrush="Gray" Background="{StaticResource GridViewHeaderBackground}">
		<Border HorizontalAlignment="Stretch" Margin="0" BorderThickness="1" BorderBrush="#FF4B4B4B" >
			<TextBlock Text="{Binding Caption}" Foreground="White" Margin="5,0,3,0" VerticalAlignment="Center" />
		</Border>
	</Border>
</UserControl>
