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

[New feature] Inherit attached properties #490

Open
mangoyoga80 opened this issue Mar 27, 2024 · 0 comments
Open

[New feature] Inherit attached properties #490

mangoyoga80 opened this issue Mar 27, 2024 · 0 comments
Labels

Comments

@mangoyoga80
Copy link

When implementing a lot of drag and drop within an application, there are some repetition when it comes to some of the properties that are assigned, such as UseDefaultDragAdorner, DragAdornerTemplate, ShowAlwaysDropTargetAdorner, etc, I'm wondering if perhaps these could be set as inherited, so that they can be set at the top level window rather than on each individual droptarget/DropSource. While this change may introduce some unexpected behaviors where the current defaults are relied upon, it could be introduced by new properties UseDefaultDragAdornerInherited, and modify the TryGet methods to use the inherited default if set. perhaps these properties have to be nullable so that fewer unintended consequences are introduced?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant