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

StaticExtension does not play well with dp inheritance for ErrorHandling.Mode. #17

Open
JohanLarsson opened this issue Jun 23, 2016 · 0 comments
Labels

Comments

@JohanLarsson
Copy link
Member

JohanLarsson commented Jun 23, 2016

Checked in test NoTranslationsWithReturnErrorInfo with repro.
My guess is that the static extension is called before the inheritance has trickled down when the control is buried deep in the visual tree.

A couple of alternative solutions:

  • Defer a check with DispatcherPriority.Loaded
    • Implement a subscription mechanism that updates the binding when ErrorHandling.Mode changes.
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