3
Vote

ListboxDragDropTarget causes massive framerate drop

description

Framerate (as measured by # of calls to CompositionTarget.Rendering per second) drops by 40-60% for each ListboxDragDropTarget on screen. I'm seeing drops from 30 fps to 12 with just one on screen and it drops down to 8 with two ListboxDragDropTargets. This is in a game so there's other usercontrols usually moving around, but it's had great performance until the drag and drop control was added.

comments

LoneCoder wrote Jan 3, 2011 at 4:55 AM

I was able to get around this performance drop by removing a DropShadowEffect from up in the parents.

LoneCoder wrote Jan 3, 2011 at 4:56 AM

It's still disconcerting that an essential non-visual element would have such a dramatic impact.