摘要: Image - 图片控件 MediaElement - 播放视频或音频的控件 示例1、Image 的 DemoImageDemo.xaml ImageDemo.xaml.cs 2、MediaElement 的 DemoMediaElementDemo.xaml MediaElementDemo.xa 阅读全文
posted @ 2016-09-28 16:04 ansen312 阅读(276) 评论(0) 推荐(0) 编辑
摘要: <Grid> <FlipView> <FlipView.Items> <FlipViewItem> <Grid> <Image Stretch="Fill" Source="/image/IMG_4.png" Margin="0,-1,0,1"></Image> <!--<TextBox x:Nam 阅读全文
posted @ 2016-09-28 11:38 ansen312 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(169) 评论(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 阅读(398) 评论(0) 推荐(0) 编辑
摘要: 1、自定义帮助类,用于简化 SecondaryView 的管理UI/MultipleViews/SecondaryViewHelper.cs 2、扩展 Application 对象,定义一些需要用到的全局变量UI/MultipleViews/AppPartial.cs 3、用于演示 Secondar 阅读全文
posted @ 2016-09-27 16:59 ansen312 阅读(248) 评论(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 阅读(239) 评论(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) 编辑
摘要: VisualState 之 StateTrigger 示例1、自定义 StateTriggerControls/UI/VisualState/MyDeviceFamilyStateTrigger.cs 2、自定义 StateTriggerControls/UI/VisualState/MyInput 阅读全文
posted @ 2016-09-27 16:56 ansen312 阅读(188) 评论(0) 推荐(0) 编辑