i want to do drag items from my inventory (a ListBox using a WrapPanel) to some slots (ContentControls). Both the items in the List and the ContentControls have the same type of ViewModel as DataContext. A simple SlotViewModel with an Item property. I handle DragStarted and DropStarted in code and can easily swap the items inside the viewmodels when i got the drop event.
I can drag items from inventory list to the slots like a charm. But i cannot drag from slot back to inventory. I've set ek
ragDrop.IsDragSource to True on the contentContorls but it seems that dragging only works with lists?
Is there a way to get dragging from ContentControls (or whatever) to work or do i need to handle this entirely in code?