Hello,
I am using NetAdvantage 2009 9.2 suite. I wanted to turn off animations in xamdatagrid so I followed this proposal. After I successfully implemented custom theme and removed all triggers firing on IsMouseOver property, removed unnecessary animation (storyboards), I still notice pretty high CPU utilization (between 60 and 80 percent) which is lower than before (between 70 and 90 percent on dual core processor!), but still unusually high. On test grid I am having around 200 rows, grouped by two text fields, bound to object data source.
I notice similar performance problems in your sample (with enabled animations), so I'm wondering what is still eating my CPU. There are no binding problems or any other problems with theme when I use it - Output window in Visual Studio indicates no problem at all.
I can build a sample with given theme so you can take a closer look if you want.
Sincerely,
AndrejH
Hello Andrej,
We would appreciate it if you provided us with a sample so that we can look into it and see if there is any problem.
Thank you.
Please find enclosed *.zip file with test project which exhibits above mentioned behavior.
Andrej
Thank you for the sample. I got much reasonable results when I ran the sample. When I intensively hover over the XamDataGrid, the CPU usage goes up to 15%. When I start intensive scrolling, it goes up to 45-50%. What is the environment that you are working on so I can test this in the same setup as you ? I also notice that you are using the release versions of 9.2. You can test the sample with the latest service release.
Hi Alex,
We're facing the same CPU usage issues with xamdatagrid (NetAdvantage for WPF 2011.2). The CPU usage was initially going up to 30%-40% on xamdatagrid mouseover. After overriding some styles for CellValuePresenter and DataRecordCellArea, the CPU usage has come down to 11% but we need to eliminate this.
The CellValuePresenter and DataRecordCellArea styles being used are attached.
Please suggest.