gong.solutions禁用从Windows资源管理器中删除

时间:2018-06-16 12:11:39

标签: c# wpf drag-and-drop

我似乎无法弄清楚如何使用gong.solutions从我的应用程序外部(例如从windows explorer)启用drop。

我发现了一些类似的问题(https://www.codeproject.com/Questions/1010841/WPF-Drag-and-Drop-from-an-outside-window; No drop with basic gongsolution sample; Drag and Drop forbidden on panel even though AllowDrop is set to true),但未回答。

这是我在我的应用程序中定义的方式(虽然无论我做什么,丢弃仍然会被禁用,所以我想它并不重要):

              ItemsSource="{Binding MyItem}"
              dd:DragDrop.IsDragSource="True"
              dd:DragDrop.IsDropTarget="True"
              dd:DragDrop.DropHandler="{Binding}"
              AllowDrop="True"

任何帮助将不胜感激!

0 个答案:

没有答案