摘要: 所谓触发器就是某个事物的某个部分发生变化(类似于事件),通过其可以带来的其它变化。在WPF中触发器分为属性触发器,事件触发器,数据触发器,多触发器,但是Windows Phone中只有事件触发器。需要引入System.Windows.Interactivity组件 阅读全文
posted @ 2014-02-11 16:20 Wiki-Locas 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 类似于Html样式,有三种设置方法。1.内联样式直接在控件中设置样式,类似于html中的控件中设置样式。1 2 3 7 8 内联样式2.内部样式表在xaml页面定义的样式,通过x:key设置样式名称1 2 6 内部样式表--定义样式1 内部样式表--使用样式3.外部样式类似于html的css样式文件,将样式集中定义在外部的样式文件中。关于xaml样式文件的定义可以参考Windows Phone SDK安装后文件中... 阅读全文
posted @ 2014-02-11 15:27 Wiki-Locas 阅读(330) 评论(0) 推荐(0) 编辑
摘要: 【1.AutoMapper】AutoMapper is a simple little library built to solve a deceptively complex problem - getting rid of code that mapped one object to another. This type of code is rather dreary and boring to write, so why not invent a tool to do it for us?AutoMapper是一个.NET的对象映射工具,AutoMapper可以将复杂的对象转换为DTO 阅读全文
posted @ 2014-02-11 09:29 Wiki-Locas 阅读(314) 评论(0) 推荐(0) 编辑