如何更改 wp7 应用程序中标题栏的颜色? [英] how to change the color of the title bar in a wp7 app?

查看:32
本文介绍了如何更改 wp7 应用程序中标题栏的颜色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个问题,我需要更改 WP7 应用程序中标题栏的颜色.

i have a question, i need to change the color of the title bar in a WP7 app.

这是我的问题:我启用了白色主题.然后我生成一个应用程序并使背景变黑.当我现在启动应用程序时,标题栏是白色的,看起来不太好,我该如何更改黑色主题标题栏的颜色?

here is my problem: i have the white theme enabled. then i generate a app and make the background black. when i start the app now, the title bar is white and that dont looks good, how can i change the color of the title bar in black theme?

推荐答案

在 Mango/7.1 中,您可以设置 BackgroundColor 属性 系统托盘.如果您的目标是 7.0,您唯一的选择是使用 SystemTray.IsVisible.

In Mango / 7.1, you can set the BackgroundColor property of SystemTray. If you're targetting 7.0, your only choice is to hide the SystemTray entirely using SystemTray.IsVisible.

这篇关于如何更改 wp7 应用程序中标题栏的颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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