Skip to content

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

Description

@JohanLarsson

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions