title: why Cell Header and Cell contents are not aligned in datagrid?
body: <p>I have this xaml code:</p>
  
  <p></p>
  
  <pre><code>            &lt;DataGridTextColumn Header="number" Binding="{Binding Path=Number, Mode=OneWay}" Width="70"  CanUserResize="False" &gt;
                  &lt;DataGridTextColumn.CellStyle&gt;
                      &lt;Style&gt;
                          &lt;Setter Property="FrameworkElement.HorizontalAlignment" Value="Center" /&gt;
                      &lt;/Style&gt;
                  &lt;/DataGridTextColumn.CellStyle&gt;
              &lt;/DataGridTextColumn&gt;
  
              &lt;DataGridTextColumn Header="Status" Binding="{Binding Path=ProcessingState}" Width="100"&gt;
                  &lt;DataGridTextColumn.CellStyle&gt;
                      &lt;Style&gt;
                          &lt;Setter Property="FrameworkElement.HorizontalAlignment" Value="Center" /&gt;
                      &lt;/Style&gt;
                  &lt;/DataGridTextColumn.CellStyle&gt;
  
  
              &lt;/DataGridTextColumn&gt;
  </code></pre>
  
  <p>but when it shows on screen, it generate this view:</p>
  
  <p><img src="https://i.stack.imgur.com/ELTFC.jpg" alt="enter image description here"></p>
  
  <p>As can be seen, the cells are not aligned with header. How can I make them aligned?</p>