Search code examples
c#wpfrotationpixelsense

Surfacelistbox Drag Drop (Stop Rotate!?)


I have implemented drag drop functionality to a surfacelistbox as explained here (http://msdn.microsoft.com/en-us/library/ff727837.aspx). It's the exact same code I have.

I was wondering if it's possible to access a CanRotate property somewhere to stop the visual a user has when dragging rotating.


Solution

  • BeginDragDrop returns a SurfaceDragCursor which has a CanRotate property you can set to false