Support for DragDropContext
abbottdev opened this issue · 1 comments
Hi,
I think it would be a useful feature to try to do more feedback of drag drop targets by using a "DragDropContext" - which can just be an optional string that can automatically perform DragOverEffects based on:
SourceContainer.DragDropContext == DragOverContainer.DragDropContext.
If you leave it blank, it can accept any input. Xaml attached property would look something like:
dd:DragDropContext="itemContext1"
Anything in itemContext1 cannot be dragged into a DragDropTarget that has a different DragDropContext.
This reduces code requirement, and is more declarative which is inline with WPF design - This gives you the ability to allow multiple Drag/Drop scenarios on a single UI.
Thoughts? Does this feature suit the project direction? If so, I'm happy to pitch and and submit a PR if someone could point me in the right direction for where I should be adding this 😄
Thanks
@abbottdev hi, create at your forked repo a branch and make your changes, after that create a pull request with your branch to the master of the main repo. so we can discuss your changes....