punker76 / gong-wpf-dragdrop

The GongSolutions.WPF.DragDrop library is a drag'n'drop framework for WPF
BSD 3-Clause "New" or "Revised" License
2.25k stars 392 forks source link

DragSourceIgnore is not working within an ItemsControl #466

Closed bbuerger closed 1 year ago

bbuerger commented 1 year ago

Describe the bug DragSourceIgnore is not working within an ItemsControl

To Reproduce Modify the sample project in the following way: Replace LeftClonableListBox in MixedSamples.xaml with ItemsControl Remove ItemContainerStyle for this Control and set AP to dd:DragDrop.DragSourceIgnore="True" Start the project click on Mixed Tab and Cloning Tab. Try to move an item by using the SizeAll Icon.

Expected behavior I expect to be able to use dragging when clicking on the SizeAll Icon, but the drag operation is not working.

Desktop (please complete the following information):

bbuerger commented 1 year ago

I got it working by moving the AP to the CloningTemplate