Is MVVM dead in Windows 8 Store Apps?

前端 未结 4 751
不思量自难忘°
不思量自难忘° 2021-02-08 06:42

I have started learning about Windows 8 Store Apps.

I recall from Silverlight and WPF programming earlier that people adapted the MVVM concept and now I am not sure if

4条回答
  •  失恋的感觉
    2021-02-08 07:08

    MVVM is not dead in Windows 8 Metro apps.

    We didn't use MvvmLight in our app, but the basic components you need, like binding to ViewModel properties, using ICommands in the ViewModel and INotifyPropertyChanged are all available with very minor changes (if any).

    Microsoft published a nice sample recently. It doesn't say MVVM explicitly, but it has what you need to get started. And Josh Smith's article is of course still useful.

提交回复
热议问题