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++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

php - joomla get content in onBeforeCompileHead function -