Hey guys,
I'm wondering if anyone has been able to Drag some item (let's say an image with an id) in silverlight and drop it in a listbox in WPF.
If you have please help ;)
Thanks, S
Hey guys,
I'm wondering if anyone has been able to Drag some item (let's say an image with an id) in silverlight and drop it in a listbox in WPF.
If you have please help ;)
Thanks, S
Drag drop to a Silverlight application from other surfaces outside of the Silverlight application is available only in Silverlight 4 and is limited to a file list payload.
Hence the only drag drop function you may be able to achieve between a WPF app and Silverlight is if you initiate the drag operation in the WPF app and include a standard file list as part of the Data attached to the drag.
I agree with @AnthonyWJones. Silverlight does not have the System.Windows.DragDrop.DoDragDrop method that WPF has, so you cannot initiate a "real" drag&drop. You can drag & drop controls within your app, but it is not possible to do what you are asking.
Anthony and Timores are correct in their responses, but I'll try to get creative with some ideas here: