Hi,
We've got a XamDatagrid with row-level virtualization turned on, and performance is still quite bad with just 205 rows.
It takes quite a while to load up, and the vertical scrolling is very sluggish.
By using JetBrains dotTrace profiles, we can see that scrolling is spending too much time on below methods:
- CommandHelpers.CanExecuteCommandSource - This is a WPF framework method. Just in case I've removed a RoutedCommand we had, and it's still showing up as a "hot spot".
- DataPresenterBase.OnPreviewMouseLeftButtonDown - This is an Infragistics method.
Any idea on what's slowing down the vertical scroll?
Thanks.
Hello,
Do you have any other questions on this matter?
Sincerely,ValerieDeveloper Support Engineer Infragisticswww.infragistics.com/support
Please see the following resources on optimizing performance:
http://help.infragistics.com/Help/NetAdvantage/WPF/2011.1/CLR4.0/html/xamDataGrid_Optimizing_Performance.html
http://blogs.infragistics.com/blogs/kiril_matev/archive/2010/10/26/optimizing-xamdatagrid-performance.aspx
BTW, re loading up time. According to dotTrace it's spending A LOT on GridViewPanelFlat.GenerationCache.GenerateScrollableRecords and GenerateTopFixedRecords.