<UserControl x:Class="NuGet.PackageManagement.UI.SortableColumnHeader"
             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"
             xmlns:local="clr-namespace:NuGet.PackageManagement.UI"
             mc:Ignorable="d"
             d:DesignHeight="300" d:DesignWidth="300">
  <Grid>
    <Grid.ColumnDefinitions>
      <ColumnDefinition />
      <ColumnDefinition Width="20"/>
    </Grid.ColumnDefinitions>
    
    <TextBlock 
      x:Name="_headerText" 
      Grid.Column="0"
      />

    <!-- down arrow -->
    <Path
      x:Name="_downArrow"
      Grid.Column="1"
      Data="M 1,1.5 L 4.5,5 L 8,1.5"
      Stretch="Uniform"
      VerticalAlignment="Center"
      HorizontalAlignment="Center"
      StrokeThickness="1"
      Stroke="{DynamicResource {x:Static local:Brushes.UIText}}"
      Visibility="Hidden" />

    <!-- up arrow -->
    <Path
      x:Name="_upArrow"
      Grid.Column="1"
      Stretch="Uniform"
      Data="M 1,4.5  L 4.5,1  L 8,4.5"
      VerticalAlignment="Center"
      HorizontalAlignment="Center"
      StrokeThickness="1"
      Stroke="{DynamicResource {x:Static local:Brushes.UIText}}"
      Visibility="Hidden" />
  </Grid>
</UserControl>