How do I keep the shape of an UIELement while doing a Drag and Drop in WPF

Posted by Kamikaze on Stack Overflow See other posts from Stack Overflow or by Kamikaze
Published on 2010-03-22T15:54:41Z Indexed on 2010/03/22 16:31 UTC
Read the original article Hit count: 322

Filed under:
|

Hi all!I'll give an example of what I intend to do: I have 2 StackPanels one containing an Ellipse the other one containing nothing;

I want to drag the Ellipse from one stack panel to the other . The actual drag & drop is already done and works fine. However I'd like to know how to keep that that Ellipse shape at the tip of my mouse cursor (I've been searching all day and couldn't find anything that helps ) Even an windows forms example would be nice , I'll be able to adapt it :). Thanks for the help!

© Stack Overflow or respective owner

Related posts about c#

Related posts about wpf