现在的位置: 首页 > 综合 > 正文

windows phone 系统托盘设置(顶部状态栏)

2013年12月08日 ⁄ 综合 ⁄ 共 519字 ⁄ 字号 评论关闭

1.托盘显示与否

shell:SystemTray.IsVisible="True"    /"False"

2.字体颜色

shell:SystemTray.ForegroundColor="Blue"

3.背景颜色

shell:SystemTray.BackgroundColor="Blue"

4.显示透明度

       预期的值介于 0.0 和 1.0 之间。可以微调系统托盘的不透明度,但我们建议您只使用值 0.0、0.5 和 1.0。

  • 0.0 系统托盘完全透明。系统托盘覆盖在透过它显示的页面内容上。不调整页面大小。

  • 0.5 系统托盘不完全透明。系统托盘覆盖在透过它显示的页面内容上。不调整页面大小。

  • 1.0 系统托盘完全不透明。系统托盘覆盖当前页面。调整页面大小到系统托盘未占用的屏幕区域。

效果图:

10句话(大瑞)

5.进度指示器

shell:SystemTray.ProgressIndicator=ProgressIndicator

参见:http://msdn.microsoft.com/zh-cn/library/windowsphone/develop/microsoft.phone.shell.systemtray_properties%28v=vs.105%29.aspx

抱歉!评论已关闭.