摘要: Usually, in a MVVM application, you would have a view model for one list item, for instance, one item in the DataGrid. When the user clicks ‘Edit’ and the editable view is shown as modal dialog, you may want to use the same view model. However, if it is the same instance, how would you support cancelling the save operation? Because the entity in memory has been changed. 阅读全文
posted @ 2013-01-23 11:06 King Cobra 阅读(284) 评论(0) 推荐(0) 编辑