The ViewModel can interact with View through its interface.
ViewModel可以通过它的接口与View交互。
The View binds to the ViewModel, and executes commands to request an action from it.
View绑定到ViewModel,然后执行一些命令在向它请求一个动作。
It implements the Model - ViewModel - View - Controller pattern that seems to be popular in WPF.
它实现了模型-视图模型-视图-控制器这个看起来在WPF中很流行的模式。
The viewmodel becomes wholly responsible for the model in this scenario. Fortunately, it's not alone
在本场景中视图模型完全为模型负责,幸运的是,它并不孤单
This article explores how to use the ViewModel pattern to make it easier to work with the TreeView control in WPF.
这篇文章探讨了如何通过使用ViewModel模式来更容易的使用WPF中的TreeView控件。
This property has nothing to do with a "person", but is simply a state used to synchronize the View with the ViewModel.
这个属性跟一个“person ”没有任何关系,而是一个简单的用于同步view和ViewModel的状态标识。
The ViewModel contains all the UI-specific interfaces and properties necessary to make it easy to develop a user interface.
ViewModel包含所有由UI特定的接口和属性,它们是轻松构建UI的必要元素。
The viewmodel exposes not only models, but other properties (such as state information, like the "is busy" indicator) and commands
视图模型不仅暴露模型,还有属性(比如状态信息,就像“isbusy”指示符)和命令。
The viewmodel exposes not only models, but other properties (such as state information, like the "is busy" indicator) and commands
视图模型不仅暴露模型,还有属性(比如状态信息,就像“isbusy”指示符)和命令。
应用推荐