文件名称:MVVM Demo for WPF
文件大小:86KB
文件格式:ZIP
更新时间:2015-04-09 03:44:32
MVVM Demo for WPF
Introduction Having helped alot of people on the MSDN Forum in the WPF section, I tend to see alot of people who fail to exploit the benefits of DataBinding in WPF, and not enough people are aware of the benefits of the MVVM pattern, which will be the main purpose of this lesson. To learn how to setup a basic MVVM pattern for an application. What is MVVM ? MVVM stands for : •Model •View •ViewModel Model - The model is an object model. In this case a class called Employee. View - The view is the UI ( User Interface ), which creates a visualization of the objects in the ViewModel, in this case MainWindow.xaml ViewModel - The ViewModel will be the layer in this application that handles all the logic and the Employee objects, this is the layer that the View will DataBind to.
【文件预览】:
C#
----Employee Overview()
--------App.xaml(328B)
--------obj()
--------bin()
--------App.xaml.cs(319B)
--------Classes()
--------MainWindow.xaml(803B)
--------ViewModels()
--------Employee Overview.csproj(4KB)
--------Properties()
--------MainWindow.xaml.cs(638B)
----Employee Overview.suo(29KB)
----Employee Overview.sln(893B)
description
----f6b6e866e5e2458559f00797fa79d556-7f637e20664af8990a67bc9713763402-RequestReducedScript.js(591B)
----66811f14a12b896e29480549d97c09a2-a340642aee4854e29473a5222f5a09cc-RequestReducedStyle.css(44KB)
license.rtf
description.html