tags:

views:

40

answers:

1

I have a rather basic shell of a WPF app that I am creating. When I move it using the DragMove() function the app moves properly but seems to "jerk" a lot. It seems to me that the redraw rate is very low making the application look slow and unresponsive.

Currently there is no "code" besides a call to DragMove().
The XAML consists of an outer border with rounded corners and drop shadow set to RenderingBias="Performance". There is also a small gradient on the title bar and a path. But even commenting these out of the code still makes the app appear jerky and slow whilst moving.

Note I have ran this in Release and outside the debugger too.

A: 

From experience, try removing the drop shadow and you'll see much better perfomance.

http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/99faecec-395f-4a47-92ee-620b11c39ae7

NVM
Thanks - I tried this already but it had no effect
Chris
Try setting AllowsTransparency to False on your main window and have a normal bordered window.I know this is not exactly the kind of solution you want but it will atleast give some pointers on where the problem lies.
NVM