Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for DragDropContext #89

Closed
abbottdev opened this issue Feb 20, 2014 · 1 comment
Closed

Support for DragDropContext #89

abbottdev opened this issue Feb 20, 2014 · 1 comment
Milestone

Comments

@abbottdev
Copy link
Contributor

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

@punker76
Copy link
Owner

@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....

@punker76 punker76 modified the milestones: v0.1.4, v0.14.1 May 28, 2014
@punker76 punker76 modified the milestones: v0.14.2, v0.14.1 Jun 18, 2014
punker76 added a commit that referenced this issue Jan 15, 2015
Support for DragDropContext #89
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants