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

DragSourceIgnore Inherits #187

Closed
mtdaniels opened this issue Jun 17, 2016 · 0 comments
Closed

DragSourceIgnore Inherits #187

mtdaniels opened this issue Jun 17, 2016 · 0 comments
Assignees
Milestone

Comments

@mtdaniels
Copy link

It seems that the default behavior is for nearly everything within a list item to be a drag point. This is fine for simple list items; however, when the list item becomes complex it can create problems.

I'd like to add a dedicated grip control within each list item, and have this be the only draggable point. To do so, I should be able to set DragSourceIgnore on the template container perhaps. This doesn't seem to work because the property is not flagged with FrameworkPropertyMetadata.Inherits. I think DragSourceIgnore would have to be set on every single control - which isn't practical (especially if there are controls with children).

Adding the FrameworkPropertyMetadata.Inherits flag makes this functionality much more useful and easier to control.

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