在 XAML 中设置 WP7 SystemTray 颜色

发布于 2024-11-24 01:10:37 字数 201 浏览 4 评论 0原文

是否可以在 XAML 中设置 SystemTray 颜色(ForegroundColor 和 BackgroundColor)?

当我将它们设置在代码后面而不是 XAML 中时,它会起作用。

我正在使用 Mango Beta 2 SDK,但在第一个测试版期间发布的许多博客文章都报告了使用 XAML 的情况。

我仅在模拟器中对此进行了测试。

Is it possible to set the SystemTray colors (ForegroundColor & BackgroundColor) in XAML?

It works when I set them in code behind but not in XAML.

I'm using the Mango Beta 2 SDK but there appear to be a number of blog articles which were posted in the timespan of the first beta which report this working with XAML.

I've tested this in the emulator only.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

趴在窗边数星星i 2024-12-01 01:10:37

我认为这是当前版本中的一个错误因为看起来较新的版本构建修复它。我认为较新的版本目前仅限内部使用。

I think it's a bug in the current build as it seems that the newer build fixes it. I assume the newer build is internal-only at the moment.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文