c# - Switching between viewmodels -


my wpf application has 3 models , each has own viewmodel & view.

how switch between these views on main window based on menu selection?

switching vms not route go due data binding. each page should have own vm. doesn't mean can't share vms though. have main page vm have each other vm, when switch, take change account data bindings.


Comments

Popular posts from this blog

c++ - End of file on pipe magic during open -

basic authentication with http post params android -

data.table making a copy of table in R -