Why Is OnNavigatedTo firing in different ways #2508
Unanswered
GWawrzeniecki
asked this question in
WPF
Replies: 1 comment 9 replies
-
Without any context to the code you are using, which is usually the first source of any potential issues, Prism does not control when the .NET Framework bindings happen. Also, having OnNavigated to fired after the bindings does not cause a binding error. Binding errors occur when a binding cannot be found on the data context. So either the data context has not been set yet, or the property doesn't exist on the data context. |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
I have different ViewModels which are implementing the INavigationAware interface.
In one ViewModel OnNavigatedTo is firing just after the constructor and all the binding are working properly and in the second view model the OnNavigatedTo is firing after the bindings which results in binding errors.
It's really disappointing.
Beta Was this translation helpful? Give feedback.
All reactions