【发布时间】:2014-09-05 13:00:48
【问题描述】:
我知道MVVM 设计模式是专门为 WPF 和 Silverlight 应用程序设计的。
我看着这个article 我想知道:
我们可以像在 WPF 应用程序中一样在 winforms 中正常使用
MVVM吗?即这句话是真的Windows Form Applications can also have the advantages, and of course it doesn't mean the exact real Model-View-ViewModel (MVVM) pattern?如果我在
Winforms应用程序中应用此模式,我无法利用 MVVM 设计模式的哪些优点与
Winforms相比,是什么让MVVM更适合WPF?
【问题讨论】:
-
过于宽泛且基于意见。主要区别在于与 WPF 相比,WinForms 中对 DataBinding 的支持最少
-
@ErnodeWeerd 你能解释更多Winforms和Wpf之间数据绑定的区别吗?谢谢
-
在询问这些问题之前,请先阅读 WPF 和 WinForm 中的 DataBinding。