WPF data grid - Column Header not aligned with data rows
- by Pawan
Hi,
I am using Datagrid in WPF. This is a very simple and basic implementation. I not using any styles.
I created a simple datagrid :
<dg:DataGrid x:Name="dg" >
</dg:DataGrid>
and populated it with data as:
dg.ItemsSource = " H E L L O W O R L D!".Split();
Grid gets properly populated but the columnheader of the grid…