Replies: 3 comments 1 reply
-
Just inject it whenever you need those references. |
Beta Was this translation helpful? Give feedback.
1 reply
-
If you want to stop prism from automatically creating the ViewModel just set the AutowireViewModel attached property to false on the view. |
Beta Was this translation helpful? Give feedback.
0 replies
-
One possible approach is to use ViewModelLocationProvider.SetDefaultViewModelFactory |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Essentially, I need to manage the reference to a ViewModel, before I navigate to it's view. Is this possible?
Beta Was this translation helpful? Give feedback.
All reactions