WinForm DataGridView styling for WPF DataGrid

Nov 7, 2008 at 3:24 AM
I have a .NET 2.0 WinForm app, where I have leveraged DataGridView heavily. Now, I have started to migrate that app to .NET 3.5 & WPF. As the application is large, it would take months to migrate it seamlessly. In the meantime, I want WPF to integrate into the existing UI.

So, I need to style the DataGrid like a traditional DataGridView (default DGV look without any customizations). I have tried but not able to achieve it exactly.

Can somebody provide me the styling for the WPF DataGrid to make it look exactly like a traditional DGV?? I believe many people would be able to reuse the styles.