采用MainViewModel和MainView 的框架,其实就是MVVM 模式(Model-View-ViewModel),该模式可以说和WPF 是珠联璧合,等我陆续阐述完,各种基础后,,我将在WPF 进阶之MVVM 中详细说明, 现在请大家,耐心掌握基础。
基于32个网页-相关网页
...标签: silverlight,binding,textbox,animation,wpf,数据结构 Silverlight之MVVM:模型-视图-视图模型(Model-View-ViewModel)(16) 概述 组成部分Model、View、ViewModel,程序=数据结构+算法。
基于20个网页-相关网页
以上来源于: WordNet
It implements the Model - ViewModel - View - Controller pattern that seems to be popular in WPF.
它实现了模型-视图模型-视图-控制器这个看起来在WPF中很流行的模式。
So whether or not a property of the ViewModel and the Model should have one field or two depends on the requirements of the View and the Source.
所以无论一个属性的视图模型和模型应该有一个字段或两个取决于观的要求和源。
应用推荐