2010年7月29日

WPF中的MVVM模式:View与ViewModule的交互个人总结

摘要: 出处:http://www.cnblogs.com/oliverxgwang/archive/2009/07/28/1532678.html在MVVM模式中,viewer负责向用户展示软件设计意图,以期获得最佳的用户体验。VM则负责实现(一定的)业务逻辑,响应Viewer要求,达到隔离业务逻辑的目的。在实际开发中,两者如何进行交互往往是比较头痛的事情。现将开发中用到的交互方法总结一下:一、使用Bi... 阅读全文

posted @ 2010-07-29 11:12 I过T 阅读(1192) 评论(1) 推荐(1) 编辑

WPF中的MVVM模式:How to render dynamic controls on the fly in MvvM pattern

摘要: 出处:http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/1be16a18-ab9c-4381-952a-4aa642f159e1For MVVM, we usually use ViewModel to get raw data from data source and create public properties for raw... 阅读全文

posted @ 2010-07-29 11:09 I过T 阅读(459) 评论(0) 推荐(0) 编辑

WPF中的MVVM模式:WPF中MVVM模式原理分析与实践

摘要: 转自网络,出处不详。1, 前提 可以说MVVM是专为WPF打造的模式, 也可以说MVVM仅仅是MVC的一个变种, 但无论如何, 就实践而言, 如果你或你的团队没有使用"Binding"的习惯, 那么研究MVVM就没有多大意义. 另外,个人觉得, 使用Command以及打造一种合理的简化的方式去使用Command也与使用Binding一样重要.2, 诞生 为了解决现实世界中的问题,我们需要将现实世界... 阅读全文

posted @ 2010-07-29 11:06 I过T 阅读(881) 评论(1) 推荐(0) 编辑

WPF中的MVVM模式:WPF模式思考

摘要: 出处:http://www.cnblogs.com/winkingzhang/archive/2008/12/01/1344816.htmlIntroductionSince XAML things have become a bit complicated in trying to conceptualize MVC architectures for Windows applications.... 阅读全文

posted @ 2010-07-29 11:02 I过T 阅读(652) 评论(0) 推荐(0) 编辑

导航