Should I use the Model-View-ViewModel (MVVM) pattern in Silverlight projects?

前端 未结 12 2045
春和景丽
春和景丽 2020-12-22 17:25

One challenge with Silverlight controls is that when properties are bound to code, they\'re no longer really editable in Blend. For example, if you\'ve got a ListView that\'

12条回答
  •  余生分开走
    2020-12-22 18:20

    I agree with Jonas. MVVM seems to be the model that works best for me (though John Papa thinks MVP makes more sense). I have an MSDN Article on this coming out in March that hopefully will answer the call for a good example.

    BTW, I would like to see some cohesion in the MVVM Framework department. There isn't a good solution for a framework to follow yet. I like Jonas' (I think Jonas' is the FX Framework) but since its not WPF compatible it might not be the right choice for some.

提交回复
热议问题