<UserControl x:Name="userControl" x:Class="pkNX.WinForms.ClosableHeader"
  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:fa="http://schemas.awesome.incremented/wpf/xaml/fontawesome.sharp"
  xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d">
    <StackPanel Orientation="Horizontal">
        <TextBlock Text="{Binding Header, ElementName=userControl, FallbackValue=Error}"/>
        <fa:IconImage Icon="Times" Width="9" Margin="-5,0,0,0" Foreground="{StaticResource ForegroundBrush}" RenderTransformOrigin="0.5,0.5" >
            <fa:IconImage.RenderTransform>
                <TransformGroup>
                    <ScaleTransform/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform X="11" Y="0.5"/>
                </TransformGroup>
            </fa:IconImage.RenderTransform>
        </fa:IconImage>
    </StackPanel>
</UserControl>
