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++ - protocol buffers - generate NON-inline accessors -

c# - issue attaching/adding an entity object which is detached from the DB Context? -