DataGrid's RowVirtualization not working with themes

Aug 19, 2012 at 8:22 PM


I really liked your DataGridThemes for WPF DataGrid :)

I am only having one problem: When I display over 10,000 rows in the grid the UI thread gets stuck. So I added EnableRowVirtualization=True and this works without the themes. What it does is "lazy-load" the rows when scrolling. But when adding back the ResourceDictionary with your themes the UI thread gets stuck again, it's as if it ignores the property EnableRowVirtualization.

Do you know why this would happen?