Reputation: 2114
I'd like to ask, how can I in Silverlight just copy an item with drag&drop, not move, if I'm using the DragDropTargets?
I've fount that: Silverlight Toolkit Drag Drop (Part 2): Customizing Drag and Drop Behavior
Upvotes: 1
Views: 912
Reputation: 148
I guess you need to set the AllowedSourceEffects property for the source *DragDropTarget element, like here:
<toolkit:PanelDragDropTarget VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch" AllowedSourceEffects="Copy">
<!-- here is a panel -->
</toolkit:PanelDragDropTarget>
Upvotes: 2