How to freeze rows / columns in wpf grid?

Oct 31, 2012 at 7:12 AM


I am developing one application in wpf and require to add excel sheet layout feature. I have tried to add grid in scrollviewer and generated rows and columns as per requirement but issue is when scroll the content header row is also moved so please suggest me how to freeze rows and columns in wpf grid?

I have also tried the DataGrid but cell merging problem faced.

Thanks in advance,