摘要: 1、C# 6.0 示例 1: 自动属性支持初始化, 字符串嵌入的新方式, 通过 Using Static 引用静态类, nameof 表达式CSharp6/Demo1.xaml.cs 2、C# 6.0 示例 2: 在 catch 和 finally 中支持 await, 异常过滤器CSharp6/D 阅读全文
posted @ 2016-09-27 17:05 ansen312 阅读(172) 评论(0) 推荐(0) 编辑
摘要: UI 设计概述 启动屏幕(闪屏) 屏幕方向 示例1、UI 设计概述UI/Summary.xaml 2、启动屏幕(闪屏)UI/MySplashScreen.xaml UI/MySplashScreen.xaml.cs 3、屏幕方向UI/ScreenOrientation.xaml UI/ScreenO 阅读全文
posted @ 2016-09-27 17:02 ansen312 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 窗口全屏 窗口尺寸 示例1、窗口全屏UI/FullScreen.xaml UI/FullScreen.xaml.cs 2、窗口尺寸UI/ScreenSize.xaml UI/ScreenSize.xaml.cs 阅读全文
posted @ 2016-09-27 17:00 ansen312 阅读(401) 评论(0) 推荐(0) 编辑
摘要: 1、自定义帮助类,用于简化 SecondaryView 的管理UI/MultipleViews/SecondaryViewHelper.cs 2、扩展 Application 对象,定义一些需要用到的全局变量UI/MultipleViews/AppPartial.cs 3、用于演示 Secondar 阅读全文
posted @ 2016-09-27 16:59 ansen312 阅读(249) 评论(0) 推荐(0) 编辑
摘要: TitleBarDemo.xaml TitleBarDemo.xaml.cs 阅读全文
posted @ 2016-09-27 16:58 ansen312 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 字体的自动继承的特性 Style 样式 ControlTemplate 控件模板 示例1、演示字体的自动继承的特性Controls/UI/FontInherit.xaml 2、演示“Style”相关知识点Controls/UI/Style.xaml Controls/UI/Style.xaml.cs 阅读全文
posted @ 2016-09-27 16:57 ansen312 阅读(242) 评论(0) 推荐(0) 编辑
摘要: VisualState 和 VisualStateManager 控件的默认 Style, ControlTemplate, VisualState 示例1、演示“VisualState 和 VisualStateManager”相关知识点Controls/UI/VisualState/Visual 阅读全文
posted @ 2016-09-27 16:56 ansen312 阅读(372) 评论(0) 推荐(0) 编辑
摘要: VisualState 之 StateTrigger 示例1、自定义 StateTriggerControls/UI/VisualState/MyDeviceFamilyStateTrigger.cs 2、自定义 StateTriggerControls/UI/VisualState/MyInput 阅读全文
posted @ 2016-09-27 16:56 ansen312 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 资源限定符概述 资源限定符示例 示例1、资源限定符概述Resource/Qualifiers/Summary.xaml Resource/Qualifiers/Summary.xaml.cs 2、资源限定符示例Resource/Qualifiers/Demo.xaml Resource/Qualif 阅读全文
posted @ 2016-09-27 16:56 ansen312 阅读(240) 评论(0) 推荐(0) 编辑
摘要: StaticResource ThemeResource 示例1、演示“StaticResource”相关知识点Resource/StaticResourceDemo.xaml Resource/StaticResourceDemo.xaml.cs 2、演示“ThemeResource”相关知识点R 阅读全文
posted @ 2016-09-27 16:55 ansen312 阅读(329) 评论(0) 推荐(0) 编辑
摘要: CustomResource ResourceDictionary 加载外部的 ResourceDictionary 文件 示例1、演示“CustomResource”相关知识点Resource/CustomResourceTest.cs Resource/CustomResourceDemo.xa 阅读全文
posted @ 2016-09-27 16:54 ansen312 阅读(659) 评论(0) 推荐(0) 编辑
摘要: Stroke - 笔划 Brush - 画笔 示例1、演示“Stroke”相关知识点Drawing/Stroke.xaml 2、演示“Brush”相关知识点Drawing/Brush.xaml Drawing/Brush.xaml.cs 阅读全文
posted @ 2016-09-27 16:53 ansen312 阅读(247) 评论(0) 推荐(0) 编辑
摘要: Shape - 图形 Path - 路径 示例1、演示“Shape”相关知识点Drawing/Shape.xaml 2、演示“Path”相关知识点Drawing/Path.xaml 阅读全文
posted @ 2016-09-27 16:53 ansen312 阅读(383) 评论(0) 推荐(0) 编辑
摘要: 线性动画 - ColorAnimation, DoubleAnimation, PointAnimation 关键帧动画 - ColorAnimationUsingKeyFrames, DoubleAnimationUsingKeyFrames, PointAnimationUsingKeyFram 阅读全文
posted @ 2016-09-27 16:52 ansen312 阅读(582) 评论(0) 推荐(0) 编辑
摘要: 背水一战 Windows 10 之 动画 PopInThemeAnimation - 控件出现时的动画 PopOutThemeAnimation - 控件消失时的动画 FadeInThemeAnimation - 控件淡入的动画 FadeOutThemeAnimation - 控件淡出的动画 Poi 阅读全文
posted @ 2016-09-27 16:51 ansen312 阅读(630) 评论(0) 推荐(0) 编辑
摘要: 演示缓动(easing)的应用Animation/EasingAnimation.xaml Animation/EasingAnimation.xaml.cs 阅读全文
posted @ 2016-09-27 16:51 ansen312 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 介绍背水一战 Windows 10 之 绑定 与 Element 绑定 与 Indexer 绑定 TargetNullValue - 当绑定数据为 null 时显示的值 FallbackValue - 当绑定失败时显示的值 示例1、演示如何与 Element 绑定Bind/BindingElemen 阅读全文
posted @ 2016-09-27 16:47 ansen312 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 介绍背水一战 Windows 10 之 动画 ThemeTransition 的概述 EntranceThemeTransition - 页面间跳转时的过渡效果 ContentThemeTransition - 内容改变时的过渡效果 RepositionThemeTransition - 位置改变时 阅读全文
posted @ 2016-09-27 16:47 ansen312 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 介绍背水一战 Windows 10 之 绑定 TemplateBinding 绑定 与 RelativeSource 绑定 与 StaticResource 绑定 示例1、演示 TemplateBinding 的用法Bind/TemplateBindingDemo.xaml 2、演示 Binding 阅读全文
posted @ 2016-09-27 16:46 ansen312 阅读(499) 评论(0) 推荐(0) 编辑
摘要: 介绍背水一战 Windows 10 之 绑定 DataContextChanged - FrameworkElement 的 DataContext 发生变化时触发的事件 UpdateSourceTrigger - 数据更新的触发方式 对绑定的数据做自定义转换 示例1、演示 DataContextC 阅读全文
posted @ 2016-09-27 16:45 ansen312 阅读(596) 评论(0) 推荐(0) 编辑