Select to view content in your preferred language

Drag and drop graphic to panel

667
1
06-24-2012 11:07 PM
SunilSharma
New Contributor
I want to drag and drop the graphic image of esri map onto panel, which contains image of recylinbin, so it prompt message, " do you want to delete the graphic image". My panel is at the top of graphic layer of esrimap. The problem I am facing is that since panel is at top of graphic layer it doesn't allow graphic to drag over the image of recycling bin inside panel.

How to figure this out ?
0 Kudos
1 Reply
JoshPorter
Occasional Contributor
How have you set up drag and drop? When I was using C1 maps it was easy to register UIElements, but I haven't found a good way to do this yet with graphics.  I noticed during a mouse event, like click or mouseover, the e variable gives you access to OriginalSource which is a UIElement type object, and it works to set up DragSources this way, but it is not feasible to register drop targets this way.
0 Kudos