This is a migrated thread and some comments may be shown as answers.

DragDropManager DragCue location is off

1 Answer 35 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Ahmet
Top achievements
Rank 1
Ahmet asked on 20 Sep 2012, 04:01 PM
Hello Everyone,

I have a gridview, which I use to drag items from. I can generate the drag cue and get it to show up, but it looks like it starts from the first column wherever I choose to start dragging.

I attached a picture to explain a bit better, in this case I started dragging from description column, whereas drag cue showed up around the first column.

Can someone shed a bit light on this? How can I solve this?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Ahmet
Top achievements
Rank 1
answered on 20 Sep 2012, 04:40 PM
nevermind...

            e.DragVisualOffset = e.RelativeStartPoint


is all I needed.
Tags
DragAndDrop
Asked by
Ahmet
Top achievements
Rank 1
Answers by
Ahmet
Top achievements
Rank 1
Share this question
or