views:

14

answers:

0

Hello everyone,

I am trying to develop a simple prototype app with the following requirements:

  • click and drag multiple elements
  • highlight valid containers for dragged element(s) on mouse move
  • a "snap-to" feature when the dragged element(s) are placed inside the valid container
  • element remains in container if mouse is released with object in container or it returns to its original position if not released in a valid container

I have the first requirement working using the MouseDragElementBehavior built into the toolkit. I would like to be able to implement the remaining features using behaviors/triggers/actions if at all possible.

FYI, I am using Silverlight 3.0.