04 2016 档案

摘要:有种想写一个MVVM框架的冲动!!! 1、Model中的属性应不应该支持OnPropertyChanged事件? 不应该。应该有ViewModel对该属性进行封装,由ViewModel提供OnPropertyChanged事件。 WPF之MVVM(1)中有实例 2、如何将控件事件转换为命令? 在“扩 阅读全文
posted @ 2016-04-17 15:09 iGotogo 阅读(2016) 评论(1) 推荐(5)
摘要:我们都想追求完美 Every view in the app has an empty codebehind file, except for the standard boilerplate code that calls InitializeComponent in the class's co 阅读全文
posted @ 2016-04-08 18:24 iGotogo 阅读(2175) 评论(0) 推荐(4)
摘要:MVVM模式 一、MVVM模式概述 MVVM Pattern : Model\View\ViewModel View:视图、UI界面 ViewModel:ViewModel是对Model的封装,通过一系列属性暴露Model的状态,提供给View进行显示 Model:数据模型 使用MVVM模式可以将代 阅读全文
posted @ 2016-04-05 12:40 iGotogo 阅读(3665) 评论(2) 推荐(7)