WPF MVVM navigate views

后端 未结 4 1078
面向向阳花
面向向阳花 2020-11-22 05:28

I have a WPF application with multiple views. I want to switch from view 1 to view 2 and from there I can switch to multiple views. So I want a button on view 1 that loads v

4条回答
  •  长发绾君心
    2020-11-22 06:09

    When i first started wiht MVVM I also struggled with the different MVVM-frameworks and especially the navigation part. Therefore I use this little tutorial i found, that Rachel Lim has created. It's very nice and well explained.

    Have a look at it on the following link:

    • http://rachel53461.wordpress.com/2011/12/18/navigation-with-mvvm-2/

    Hope it helped you :)

提交回复
热议问题