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

前端 未结 12 2008
春和景丽
春和景丽 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 think many of us are waiting for the trailblazers to go ahead and create really good sample apps using MVVM in Silverlight (and WPF for that matter). There are a number of tricky areas such as the lack of ICommand in Silverlight, or the difficulty of interacting with animations starting and stopping only using data binding.

    Its definitely a pattern to watch for the future though, and is worth trying out if you don't mind 'cheating' occasionally in the places where you can't quite figure it out.

提交回复
热议问题