Column header cell horizontal content alignment

Nov 29, 2013 at 11:47 AM
How can I change the horizontal alignment of the text in the column header cells?

I tried this:
    <XCol:ExtendedDataGridTextColumn Binding="{Binding Path=Name}" Header="User Name">
            <Style TargetType="XControls:Primitives.DataGridColumnHeader">
                <Setter Property="HorizontalContentAlignment" Value="Center"/>
This works to center the header text, but I lose the column chooser, filter, etc. Is there a better way to do this where I don't lose the new features? Thanks,