
Caliburn
dare_
这个作者很懒,什么都没留下…
展开
-
Caliburn第1部分:入门
添加引用 Caliburn.Micro.dll System.Windows.Interactivity.dll Since Caliburn Micro is going to take care of creating the window for you, delete MainWindow.xaml and remove the StartupUri at翻译 2012-10-16 14:43:20 · 10094 阅读 · 0 评论 -
Caliburn第3部分 事件 参数
有参数的事件绑定 长语法的优点是它的兼容性与Microsoft Expression Blend中。 简短的语法是巨大的,如果你在使用设计不感兴趣,并希望保持短 The advantage of the long syntax is its compatability with Microsoft Expression Blend. The short syntax is great if翻译 2012-10-16 16:59:40 · 10824 阅读 · 0 评论 -
Caliburn第4部分 事件聚合器
The event aggregator is a service that makes it easy for multiple parts of your application to send messages to each other. 要做到这一点,你订阅的事件聚合的对象(如视图模型),并指定他们应该听什么类型的消息。 现在做一个ColorViewModel,翻译 2012-10-17 10:35:26 · 1135 阅读 · 0 评论 -
Caliburn第2部分 数据绑定和事件
1.数据绑定 为ViewModel添加属性 public class AppViewModel : PropertyChangedBase { private int _count = 50; public int Count { get { return _count; } set { _count = value;翻译 2012-10-16 15:55:49 · 10506 阅读 · 0 评论 -
Caliburn 启动引导项
using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.ComponentModel.Composition.Hosting; using System.ComponentModel.Composition.Primitives; using翻译 2012-10-18 14:57:35 · 664 阅读 · 0 评论