Draggable Identify Task

1257
3
08-05-2010 02:20 PM
MichaelRose
Occasional Contributor
I have the identify task described here:

http://resources.esri.com/help/9.3/arcgisserver/apis/silverlight/help/Identify_task.htm

implemented in my solution.  The problem I am having now is that I would like this window to be draggable because when expanded, it covers much of the underlying map.

Has anyone else come across this?  If so, what approach did you take to resolve the issue?

I appreciate any feedback you can provide!
0 Kudos
3 Replies
DominiqueBroux
Esri Frequent Contributor
You have to include the identify result in any draggable window (3rd party or your own).

If you have created your silverlight application from the standard template, you can use the 'WindowPanel' which is draggable (but not resizable).

I did that in the 'Web Map Viewer' sample.

You can test with this map (or any map with dynamic layer)
http://broux.dominique.free.fr/Silverlight/WebMapViewer/WebMapViewer.html?webmapid=2eb1bd6b550f4cf38..., the identify window is draggable.
0 Kudos
MichaelRose
Occasional Contributor
Thanks for the quick response.  Unfortunately I am still am developing in VS2008 with the older Silverlight API.  Would you be able to post a code snippet of the code you used for the WindowPanel?

Thank you for your time!
0 Kudos
MartenLiebster
Deactivated User
Thanks for the quick response.  Unfortunately I am still am developing in VS2008 with the older Silverlight API.  Would you be able to post a code snippet of the code you used for the WindowPanel?

Thank you for your time!


Have you tried the Blend drag window behavior (forgot the exact name)? It may intercept the mouse events, so it may not work. But it's simple enough to try.
0 Kudos