0

How do you go about cancelling a drop event using the latest Silverlight Toolkit Drag and Drop framework? I'd assume this has to be stupid, but I don't seem to be able to find any valid information to get me to the right place.

Any guidance would be helpful.

Richard B
  • 1,581
  • 1
  • 15
  • 31

2 Answers2

1

Within the drag operation you can set:

e.Handled = True
e.cancel = True

You can set these on drag over as well. But you can also do a similar thing within the drop operation.

StarLordBlair
  • 573
  • 1
  • 11
  • 27
0
  1. AllowDrop="False"
  2. Do nothing in drop handler
EvAlex
  • 2,888
  • 1
  • 20
  • 24
  • Actually, wanted to within the "drop" event or similar say "Hey, Cancel doing this" based on business logic. – Richard B Apr 10 '12 at 21:13