Expression > Gallery > Behaviors > ItemsControl Drag Drop Behavior for WPF
Express yourself! Share your work with other members of the Expression Community.

Each contribution is licensed to you under a License Agreement by its owner, not Microsoft. Microsoft does not guarantee the contribution or purport to grant rights to it.

ItemsControl Drag Drop Behavior for WPF

Average Rating:  (5)
Description
Discussions (5)
  • How to install?
    1 Posts | Last Post: November 06, 2009
    • As a noob to Silverlight (and Windows development in general):

      How do I install this thingy into Expression Blend/ SketchFlow?

      I need it for a tutorial I am doing.

      Cheers, Bjørn
  • Usage?
    1 Posts | Last Post: October 31, 2009
    • Forgive me for asking a probably silly question, but what would this be used for?

      Is this something that other programmers would use when creating a program of their own or is it something a regular person could use to organise thier computer files?

      I ask as I am looking for a solution or work around to the fact that Auto Arrange can no longer be turned off in Windows 7.
  • Events
    2 Posts | Last Post: October 08, 2009
    • Thanks for this control it works great. One question though, I am using this in my MVVM application and was wondering how I can add additional events / commands? For example I want to know when an item is being added or removed and what item it is. It looks like I need the remove and add item notification in the helper class but can not figure out how to add them? Thanks
    • Hi there,

      sorry for late reply. I don't check this very often. Best way to know if an item is added or removed is to fire an event from the behavior itself. you can expose that event (with the object as an argument) in the behavior and you can subscribe to that in your parent xaml control and handle that. Hope that helps.
  • Jim Tomasko
    3 Posts | Last Post: August 04, 2009
    • Excellent work Edwin. Your inclusion of the DataTemplate property really makes this very complete. I must admit that I have only been pouring over the code and the example for about an hour, so may come up with questions, but so far this appears to be a pretty complete solution.
    • Thanks! If you can think of ways to improve me, give me a shout.
    • oops i meant improve it, not improve me :P
  • Victor Galaguza
    1 Posts | Last Post: August 01, 2009
    • Edwin, your example helped me a lot. It really makes the Drag&Drop is very simple. Thanks.