隐藏或不隐藏 Windows Phone 7 应用程序中的系统托盘? [英] Hide or not to hide the system tray in a Windows Phone 7 application?

查看:26
本文介绍了隐藏或不隐藏 Windows Phone 7 应用程序中的系统托盘?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在讨论是否在 Windows Phone 7 应用程序中隐藏系统托盘.我没有找到关于这个问题的任何一般性建议 - 官方 Windows Phone设计指南根本没有解决这个问题——除了Jeff Wilcox的博文 建议他个人喜欢在应用程序中看到系统托盘.我想从其他 Windows Phone 开发者那里得到一些关于这个问题的一般性建议.

I am debating whether to hide or not to hide the system tray in a Windows Phone 7 application. I've not found any general suggestions on this issue -the official Windows Phone design guidelines don't address this issue at all - except for Jeff Wilcox's blog post who suggested that he personally likes to see the system tray in applications. I'd like some general advice on this issue from other Windows Phone developers.

显示系统托盘的一些原因是

Some reasons for showing the system tray are

  • 不占用那么多空间
  • 用户有时可能希望看到它

隐藏它的原因是

  • 您无法控制其背景:除非您使用 PhoneBackgroundBrush 作为背景,否则顶行会突出
  • 许多广泛使用的/官方应用已经隐藏了它:所有游戏以及官方 Facebook 和 Twitter 应用.

我很感激所有关于这方面的建议.

I'd appreciate all advice on this.

推荐答案

Mango 现在可以通过设置背景颜色和不透明度来实现透明度和颜色:

Transparency and colors are now possible with Mango by setting its BackgroundColor and Opacity :

shell:SystemTray.IsVisible="True"
shell:SystemTray.BackgroundColor="Transparent"
shell:SystemTray.Opacity="0"

我会说默认情况下显示它,除非它真的以一种你无法解决的方式妨碍了它,特别是如果它是一个应用程序而不是一个游戏.

I would say by default show it unless it really gets in the way in a way you can't workaround, especially if its an app and not a game.

这篇关于隐藏或不隐藏 Windows Phone 7 应用程序中的系统托盘?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆