• How to: Drag and Drop Silverlight Views between Regions in Prism-v2

    Published by on June 27th, 2009 3:17 am under Composite Application Guidance for WPF & SL, p&p, Patterns & Practices, Prism-v2, Silverlight

    2 Comments

    As some of you may know, some weeks ago I blogged about how to drag and drop WPF views between regions in Prism-v2. Well, today I started spiking and was able to create the same sample for Silverlight (thanks Julian and Ezequiel for your contributions). So, if you were interested in the previous spike but could not use it because you are developing a Silverlight application, you might find this sample useful.

    I will not go over the specs, because there are no modifications required to use it compared to its WPF version (explained in my related previous post). However, I did modify the ViewDragManager to cope with some of the WPF/Silverlight differences.

    Outcome

    Below you can find a picture of how the Silverlight ViewDragManager doing its job:

     

    Drag and Drop Sample

    Disclaimer

    This code is provided “AS IS” with no warranties, and confers no rights.

    Download

    You can get the sample from here: SLDragDropSample.zip.

    Hope this is useful application ).

    kick it on DotNetKicks.com

    Shout it

    Tags: , , , ,

Archives

Categories