WP8.1StoreApp(WP8.1RT)---SystemTray的变化
原Microsoft.Phone.Shell中的SystemTray,已经改到Windows.UI.ViewManagement中StatusBar了。
只能在代码中设置相关属性。
如:
| 
 1 
2 
3 
4 
5 
6 
7 
8 
 | 
StatusBar statusBar = StatusBar.GetForCurrentView();// 显示StatusBarawait statusBar.ShowAsync();// 隐藏StatusBar// await statusBar.HideAsync();// 设置ProgressIndicatorstatusBar.ProgressIndicator.Text = "test...";await statusBar.ProgressIndicator.ShowAsync(); | 
原文:
WP8.1StoreApp(WP8.1RT)---SystemTray的变化的更多相关文章
- WP8.1StoreApp(WP8.1RT)---本地Toast
		
WP7/8中的Toast是不能在前台弹出的. WP8.1StoreApp可以利用Win8中的方式: private void Toast(string title,string content) { ...
 - WP8.1StoreApp(WP8.1RT)---第三方启动
		
8.1的协议和wp8是相互通用的 被启动: 相比较wp8而言,基本变化不大,但添加方式更直观了 1:打开Package.appxmanifest 2:切换到"声明"选项卡 3:左侧 ...
 - WP8.1StoreApp(WP8.1RT)---发送邮件和短信
		
在WP7/8中,发送短信是利用了EmailComposeTask和SmsComposeTask来实现的. 在WP8.1 Store App中,原来的方式已经失效,采用了新的方法:ChatMessage ...
 - WP8.1StoreApp(WP8.1RT)---MessageBox与MessageDialog
		
在WP7和WP8中,MessageBox是跟WinForm中一样常用的对话框,但是有一个显著的缺点,就是WP7/8中默认的MessageBox是阻塞线程的.也许是由于这个原因,WP8.1/Win8中采 ...
 - WP8.1StoreApp(WP8.1RT)---添加推送功能和获取系统信息
		
添加推送通知 1:Package.appxmanifest中的声明添加后台任务的推送通知权限 2:var channel = await PushNotificationChannelManager. ...
 - WP8.1的shell:SystemTray去哪了?
		
WP8.1 中的SystemTray被 StatusBar 代替了.在Windows.UI.ViewManagement 命名空间下,而且只能在后台代码中设置,XAML中不行.用法是这样的: Stat ...
 - 【WP8】WP8调用官方API使用LED灯
		
在WP7中没有相关的API可以直接使用摄像头的LED等,只能通过录像时打开LED等来使用,在WP8中添加了相关的调用接口,可以方便的使用LED灯,并且支持后台,废话不多说,直接上代码 1.在 WMAp ...
 - Windows Phone 8.1又有什么新花样
		
今年微软新任CEO提出了“Mobile First and Cloud First”的发展战略,随着微软Mobile First战略的实行,开发者是时候重视Windows Phone了.你可能不相信, ...
 - “Win10 UAP 开发系列”之主题模式切换
		
微软动作真是快,本来想写WP8.1RT系列,结果刚整理了一点就出Win10 UAP了.不过还好RT到Win10的差别还不算太大.前两天参加了Win10开发极客秀,虽然没获奖,不过在韦恩卑鄙的帮助下顺利 ...
 
随机推荐
- fireDAC oracle
			
copy 4 files to D:\oracleapp\Administrator\product\11.2.0\client_1\BIN setup win 64 bit client .down ...
 - 添加自己的discuz 的积分策略
			
在参考了网上的一些文章和discuzx开发手册,开始操作:1.在数据库表pre_common_credit_rule增加一条记录,rulename填“填写推荐人”,action填“txtjr”(跟下面 ...
 - Tutorial: Getting Started with Spring Security
			
This tutorial will cover a basic scenario where it integrates Spring Security, using database-backe ...
 - [/usr/local/openssl//.openssl/include/openssl/ssl.h] Error 127
			
/bin/sh: line 2: ./config: No such file or directorymake[1]: *** [/usr/local/ssl/.openssl/include/op ...
 - 015年传智播客JavaEE 第168期就业班视频教程15-模块规范化
			
注册功能最起码得有个用户名和密码吧. bigint相当于Java里面的Long.Long型最大的那个数字是19位,我们这里是20位,绝对够用. userName长度预留20%,让它后期可扩展.6-12 ...
 - Python_01-入门基础
			
以后我会发表一系列python脚本的学习资料,python版本为2.x. 目录: 1 Python入门基础 1.1 学习资源 1.2 所有语言的入门程序---Hello World! 1.3 帮助函 ...
 - 安装scrapy解决的坑
			
在windows下: pip install scrapy 最后一步报错: 本来以为是缺少 Microsoft Visual C++ 14.0 这个库,一看下载需要400多M,算了再看下报错... 感 ...
 - ubuntu系统下安装pyspider:解决pyspider启动时不启动phantomjs问题
			
问题描述: 在建立第一个虚拟环境时,运行pyspider正常.建立第二个虚拟环境时,运行pyspider再现下面错误.应该是phantomjs没有启动成功. 错误代码:(phantomjs:21507 ...
 - Core Graphics Layer Drawing
			
[Core Graphics Layer Drawing] CGLayer objects (CGLayerRef data type) allow your application to use l ...
 - Andriod 之数据获取
			
服务端Model using System; using System.Collections.Generic; using System.Linq; using System.Web; namesp ...