Replies: 1 comment 1 reply
-
Hi, do you think it's possible for you to put an example of this together and share it so we can help to diagnose your issue. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
my problem is that the Route is correctly loaded, so the content of my user control is displayed but my viewmodel in the usercontrol is empty and so no binding is happining.
I'm using the RoutedViewHost for a Stepper Component in WPF.
My Views implementing IViewFor, for example:
IViewFor<DatumStepViewModel>
My ViewModels extending PageViewModelBase which implements the IRoutableViewModel.
My Window ViewModel implements the IScreen interface.
I'm registering the Views for the viewmodel like that
Locator.CurrentMutable.RegisterViewsForViewModels(Assembly.GetCallingAssembly()); Locator.CurrentMutable.RegisterLazySingleton(() => new AppViewLocator(), typeof(IViewLocator));
Also, the AppViewLocator is not called, where I have a an assignment for the viewmodel
Does anyone have a solution or an idea how I can solve this?
Beta Was this translation helpful? Give feedback.
All reactions