My wpf application was running very slow. I was using the performance profiling tools for wpf from windows and noticed my hardware IRTs per frame where very high (100+). I read in the help that this is caused by some effects. After disabling some effects i found that this was the cause…
<Border.Effect>
<DropShadowEffect Direction="45" Color="#DDDDDD"/>
</Border.Effect>
I was using this effect on all my drag and drop objects.
Now I’m looking for a similar effect that doesn’t freeze the entire application. Is there any effect in .net 4.0 what I can use to achieve this?
Thank you very much
David
Using bitmap caching in on the usercontrol also fixed the problem. Unless scaling is very important you could use this…