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

Functional Recommendations:ctrl+drag #478

Open DR-ShenSSR opened 8 months ago

DR-ShenSSR commented 8 months ago

Functional Recommendations Is there a ctrl+drag that allows copy insertion? I think this would be helpful for separate object manipulation, for example to help chapter catalogs to be built through existing templates

DR-ShenSSR commented 8 months ago

First of all thanks for the existence of such a great plugin. I get conflicts with the program when I write the following code: Private Shared Sub StartDragDrop(row As DataGridRow) If row IsNot Nothing Then SetIsDragging(row, True) If Keyboard.IsKeyDown(Key.LeftCtrl) OrElse Keyboard.IsKeyDown(Key.RightShift) Then ' Hold Ctrl to drag and drop as copy and add the DragDrop.DoDragDrop(row, row.Item, DragDropEffects.Copy) End If End If End Sub