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
Post a Comment