Left aligning wpf grid headers


Applying this style to the gridviewcolumns they will left align their header content.

<Style x:Key=”LeftAlignedGridHeader” TargetType=”{x:Type GridViewColumnHeader}”>
<Setter Property=”HorizontalContentAlignment” Value=”Left” />
</Style>

Bookmark and Share

,

  1. No comments yet.
(will not be published)