Did you know? DZone has great portals for Python, Cloud, NoSQL, and HTML5!

Corey is a professional designer and software developer with extensive experience in multimedia, web & windows based applications. A pioneer in Flash and Silverlight development, he uniquely combines design sensibility with rock-solid Microsoft .NET development skills. Recently, he was instrumental in developing a Silverlight business application (the first of its kind) for a major railroad company. Corey is highly active in the designer/developer space, Microsoft MVP, co-founder of CD2UG and has served as a presenting speaker at numerous community events. Corey is a DZone MVB and is not an employee of DZone and has posted 7 posts at DZone. You can read more from them at their website. View Full User Profile

Silverlight 2 - Drag and Drop Part 2 of 2

01.13.2009
Email
Views: 3403
  • submit to reddit

This is part 2 of the drag and drop videos, this is where I show a different method than the one provided by silverlight.net. Basically I found the concept of capture mouse technique to be too limiting in my applications and this method was how I was able to do drag and drop in my application where during dragging of an object I needed to interact with other items. Hope this helps, and more videos are coming.

Source: Blogger.Demo.DragAndDrop2of2.zip (538.02 kb)

Reference:
Silverlight 2 - Drag and Drop Part 2 of 2

Published at DZone with permission of Corey Miller, author and DZone MVB.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Comments

Thoms Super replied on Tue, 2009/01/27 - 8:30am

Thanks for the great example. However, there is one disadvantag to the mouse capture technologie: You can drop objects to coordinates outside the visible range (outside the browser window). Is tthere any chance to achieve this without the mouse capture technologie ? Thanks and regards, Thomas

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.