views:

47

answers:

1

How can i put an image in corner or center of cursor while user dragging an item in ListView or other controls like that? When you dragging an image or text in Firefox; same thing occurs.

+2  A: 

The most effective way I've found is to use the Adorner Layer.

This post shows how: http://blogs.msdn.com/b/marcelolr/archive/2006/03/03/showing-drag-drop-feedback-on-the-wpf-adorner-layer.aspx

codekaizen
Thanks for answer, but it's work on canvas. I want to use it on ListView.
Jalal Amini
It works on any UIElement. Including ListView.
codekaizen
Yes it will work anywhere.
keyle