how can i change viewModel dynamically if i have one viewModels for each user control
israelKusayev opened this issue · comments
Israel kusayev commented
and by the way, you did a great job, i'm learning a lot from you. thank you!
Meshack Musundi commented
Hi, thanks for the compliment. Regarding your query, I think you're referring to a case where each user control has a different view model? In that case you could set the DataContext
of each user control with the relevant view model.