I have a WPF DataGrid with a column header as follows:
<DataGridTemplateColumn Header="Length" Width="100">
...
</DataGridTemplateColumn>
How do I make this header align right? Thanks. I know how to align the column content. Emphasis is aligning COLUMN HEADER.
Set the
HorizontalContentAlignmentof the header using theHeaderStyle: