Windows-universal-samples学习笔记系列二:Controls, layout, and text
AutoSuggestBox migration sample
This sample shows how to migrate your Windows 8.1 app to Windows 10 by replacing your SearchBox with an AutoSuggestBox. With the improvements in AutoSuggestBox, you will get the same end-user experience across all supported Windows 10 devices.
Clipboard sample (复制、粘贴文本或文件)
Commanding sample (AppBar 和 CommandBar 的使用,不再像win8.1的metro那样了。Page.BottomAppBar更适合手机)
This sample highlights the changes and new features to the CommandBar. On Windows 10, both the AppBar and the CommandBar are visible by default and can be either "closed" or "opened". While in the closed state, an app bar can provide either a "minimal" or "compact" hint or no hint at all. The AppBar/CommandBar transition to an opened state when the user taps the More button that appears as an ellipsis or the control is opened programmatically.
Context menu sample (右键菜单)
Context menu (XAML) sample (增强版右键菜单)
Disabling selection sample (仅针对JavaScript开发的应用)
Display orientation sample (可设置自动旋转)
This sample demonstrates the use of the DisplayInformation class for retrieving the display orientation and setting an app's auto-rotation orientation preferences.
Specifically, this sample shows how to:
- Read the native display orientation.
- Read the current display orientation.
- Respond to changes in display orientation.
- Set auto-rotation orientation preferences.
Downloadable fonts (DirectWrite) sample (下载字体,仅用于C++)
Downloadable fonts (XAML) sample (下载字体,win10新特性)
Drag and drop sample (拖放操作)
Focus visuals sample (可自定义获取焦点后的显示)
Full screen mode sample (全屏模式)
Line spacing (DirectWrite) sample (仅用于C++)
ListView and GridView sample
Lock screen apps sample (锁屏时显示信息)
Message dialog sample (估计MVVM Light 用的也是这个)
Multiple views sample (手机上创建新窗口时报错了)
OCR sample (从图像中提取文本)
Printing sample
Pull-to-refresh sample (相当于QQ的往下拉显示更多以前聊天信息的功能)
Responsiveness techniques sample (相应UI场景的改变,可作为起始案例)
Showcases a UI scenario from Settings (Personalization UI) and highlights the simple responsive techniques we have introduced in Windows 10 – namely, VisualState.Setters, AdaptiveTriggers, SplitView and RelativePanel (static and dynamically modifying properties). This sample can be viewed as a getting started sample.
Scaling according to DPI sample (对不同DPI的处理)
Splash screen sample (起始屏幕?这个有待研究...)
State triggers sample (状态触发,如:屏幕尺寸WindowSizeStates;输入InputTypeStates;设备DeviceFamilyStates)
Showcases extensible StateTriggers with a couple of different custom triggers built into a scenario app. Custom triggers shown here include DeviceFamilyTrigger, InputTypeTrigger, ControlSizeTrigger and ViewModelTrigger
Tailored multiple views sample (根据屏幕尺寸提供不同的视图,分别采用Pivot或SplitView)
Showcases how to build tailored UI using multiple views that are optimized for one-handed use. Specifically, the usage of the Pivot control plus commands at the bottom of devices that are < 7" in size and the usage of the SplitView control plus commands at the top of the device for devices > 7" in size.
Title bar sample (标题栏,手机应该没有的)
This sample shows various ways of customizing the title bar.
UI basics (XAML) sample (列举了所有控件的基本使用)
This sample shows all of the XAML controls in an interactive format.
Specifically, this sample shows how to:
- Specify XAML controls in markup: Each control page shows the markup used to create each example
- Basic layout: This sample will show all of the possible layout options for your app and allow you to interact with the panels to show how to achieve any layout you are looking for.
- Adaptive UI: In addition to showing how each control responds to different form factors, the app itself is responsive and shows various methods for achieving adaptive UI.
User interaction mode sample (区分触摸与鼠标)
This sample shows how to detect and respond to the user interaction mode.
The sample shows the following techniques:
- Retrieving the current user interaction mode.
- Responding to changes in the user interaction mode.
WebView control (HTML) sample (仅用于JS)
Window resizing sample (改变窗口尺寸,手机上会失败)
This sample shows how to customize the size of your app's view.
The sample shows the following techniques:
- Resizing the view.
- Setting a minimum size for the view.
- Launching at a specific size.
Windows-universal-samples学习笔记系列二:Controls, layout, and text的更多相关文章
- JNI 学习笔记系列(二)
c中没有Boolean类型的值,一般是使用1表示true,0表示false,c中也没有String类型的数据,c中的字符串要通过char数组来表示.c中没有byte类型,一般用char表示byte类型 ...
- EasyUI学习笔记(二)—— Layout
一.layout页面布局 EasyUI布局容器包括东.西.南.北.中五个区域,其中中心面板是必须的,而东.西.南.北这四个面板是可选的,如果布局里面不需要东.西.南.北这四个面板,那么可以把相应的di ...
- Python学习笔记(二)使用Sublime Text编写简单的Python程序()
一.使用Sublime Text编写Python 1.点击“文件” →”新建文件“ 2.点击”文件“→”保存“,并保存为.py文件 此时已经创建好Python文件了,接下来就可以编写Python程序了 ...
- 步步为营 SharePoint 开发学习笔记系列总结
转:http://www.cnblogs.com/springyangwc/archive/2011/08/03/2126763.html 概要 为时20多天的sharepoint开发学习笔记系列终于 ...
- WebService学习笔记系列(二)
soap(简单对象访问协议),它是在http基础之上传递xml格式数据的协议.soap协议分为两个版本,soap1.1和soap1.2. 在学习webservice时我们有一个必备工具叫做tcpmon ...
- Windows phone 8 学习笔记(8) 定位地图导航
原文:Windows phone 8 学习笔记(8) 定位地图导航 Windows phone 8 已经不使用自家的bing地图,新地图控件可以指定制图模式.视图等.bing地图的定位误差比较大,在模 ...
- Windows phone 8 学习笔记(1) 触控输入
原文:Windows phone 8 学习笔记(1) 触控输入 Windows phone 8 的应用 与一般的Pc应用在输入方式上最大的不同就是:Windows phone 8主要依靠触控操作.因此 ...
- VSTO学习笔记(二)Excel对象模型
原文:VSTO学习笔记(二)Excel对象模型 上一次主要学习了VSTO的发展历史及其历代版本的新特性,概述了VSTO对开发人员的帮助和效率提升.从这次开始,将从VSTO 4.0开始,逐一探讨VSTO ...
- Windows phone 8 学习笔记(9) 集成
原文:Windows phone 8 学习笔记(9) 集成 本节整理了之前并没有提到的Windows phone 8 系统相关集成支持,包括选择器.锁定屏幕的.联系人的访问等.选择器列举了若干内置应用 ...
随机推荐
- python3获得命令行输入的参数
外部直接执行python文件时,我们有时需要获得命令行的参数 获得命令行参数的两种方式 1.通过sys.argv sys.argv:获得一个参数列表,第一个值为文件名本身,通过sys.argv ...
- Vue-axios快速上手(转)
引入方式: 1 2 3 4 5 $ npm install axios $ cnpm install axios //taobao源 $ bower install axios 或者使用cdn: &l ...
- 8 种 NoSQL 数据库系统对比(转自: http://blog.jobbole.com/1344/)
导读:Kristóf Kovács 是一位软件架构师和咨询顾问,他最近发布了一片对比各种类型NoSQL数据库的文章. 虽然SQL数据库是非常有用的工具,但经历了15年的一支独秀之后垄断即将被打破.这只 ...
- python基础入门学习2
python 整体注释:选中所有然后CTRL+? 运算符 + - * / ** % // 布尔值 true 真 False 假 !=不等于 <>不等于 算数运算,赋值运算,比较运 ...
- linux之master和minion
saltstack博客地址: https://www.cnblogs.com/pyyu/p/9465608.html在线yaml文件编写:http://www.bejson.com/validator ...
- HDU 1255 覆盖的面积(线段树面积并)
描述 给定平面上若干矩形,求出被这些矩形覆盖过至少两次的区域的面积. Input 输入数据的第一行是一个正整数T(1<=T<=100),代表测试数据的数量.每个测试数据的第一行是一个正 ...
- eclipse及tomcat设置编码
新装的eclipse新导入项目会乱码,解决办法: 右击项目选properties,找到resources选择utf-8 改后乱码解决 乱码解决后可能还会有红叉,project clean即可 一劳永逸 ...
- [leetcode]133. Clone Graph 克隆图
题目 给定一个无向图的节点,克隆能克隆的一切 思路 1--2 | 3--5 以上图为例, node neighbor 1 2, 3 2 1 3 1 ...
- 30-算法训练 最短路 spfa
http://lx.lanqiao.cn/problem.page?gpid=T15 算法训练 最短路 时间限制:1.0s 内存限制:256.0MB 问题描述 给定一个n个顶点, ...
- 修复python命令行下接收不到参数的问题
由于之前安装过多个python版本,导致出现了在命令行下直接给py文件传递参数的时候接收不到,即使重新卸载安装也没有解决. 解决办法: 修改如下图路径下的键值为:"D:\Python27\p ...