You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I recently ported one of my applications from MahApps to ModernWPF and had some troubles with previously working drag+drop behavior breaking for a TreeView using GongSolutions.WPF.DragDrop. I tested a standalone program with vanilla WPF vs ModernWPF and vanilla WPF TreeView worked out-of-the-box with GongSolutions whereas ModernWPF did not.
I continued to test ModernWPF by adding padding around the TreeView and the padding area supported drag+drop, but the nodes still did not. Finally, I looked through DefaultTreeViewItemStyle and discovered that AllowDrop was set to False. This was easily fixed on my end by creating a new style. I still suggest changing DefaultTreeViewItemStyle's AllowDrop setting to True to keep vanilla WPF behavior if this wasn't done intentionally for perf reasons. Thanks.
The text was updated successfully, but these errors were encountered:
Hi, I recently ported one of my applications from MahApps to ModernWPF and had some troubles with previously working drag+drop behavior breaking for a TreeView using GongSolutions.WPF.DragDrop. I tested a standalone program with vanilla WPF vs ModernWPF and vanilla WPF TreeView worked out-of-the-box with GongSolutions whereas ModernWPF did not.
I continued to test ModernWPF by adding padding around the TreeView and the padding area supported drag+drop, but the nodes still did not. Finally, I looked through DefaultTreeViewItemStyle and discovered that AllowDrop was set to False. This was easily fixed on my end by creating a new style. I still suggest changing DefaultTreeViewItemStyle's AllowDrop setting to True to keep vanilla WPF behavior if this wasn't done intentionally for perf reasons. Thanks.
The text was updated successfully, but these errors were encountered: