简体   繁体   English

如何更改Windows Phone应用程序栏图标的颜色?

[英]How to change Windows Phone application bar icon color?

How to handle application bar button click to prevent coloring this in theme color? 如何处理应用程序栏按钮单击以防止在主题颜色中着色?

I have Windows phone 8 app with my own background and foreground colors, but when I'm clicking on app bar button (such as settings), it's coloring in red/green/blue/anything else theme color. 我有具有自己的背景和前景色的Windows Phone 8应用程序,但是当我单击应用程序栏按钮(例如设置)时,它的颜色为红色/绿色/蓝色/其他任何主题颜色。 It's crashing my design and I'm crying. 我的设计崩溃了,我在哭。

Other topics on stackoverflow have answers that it is impossible, but Skype on Windows Phone has white icon color on mouse (or finger, I would say) down event despite my color theme is emerald! 关于stackoverflow的其他主题有不可能的答案,但是Windows Phone上的Skype在鼠标(或手指,我会说)按下事件上具有白色图标颜色,尽管我的颜色主题是翡翠!

Yes, it is impossible with the standard appbar. 是的,使用标准应用栏是不可能的。 Your own to achieve this. 您自己实现这一目标。

Did you tried to set ForegroundColor of ApplicationBarIconButton ? 您是否尝试设置ApplicationBarIconButton ForegroundColor

ps. PS。 It's generally bad idea to find something that available only in Microsoft apps, because they have access to the special or hidden API's which is not available to the regular developers. 找到仅在Microsoft应用程序中可用的内容通常是个坏主意,因为它们可以访问常规开发人员无法使用的特殊或隐藏API。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在Windows Phone中更改应用程序栏的颜色? - How to change color of the Application Bar in Windows Phone? 更改边框颜色应用程序栏按钮Windows Phone - Change border color application bar button windows phone 如何在Windows Phone 8中使用应用程序栏图标按钮交换图像? - how to interchange images with application bar icon buttons in windows phone 8? Windows Phone 8应用程序-如何更改时钟和顶部栏图标的颜色 - Windows Phone 8 App - How to change color of clock and top bar icons 在Windows Phone应用程序中处理其他功能时如何禁用应用程序栏图标按钮 - how to disable Application Bar Icon Button while processing other functions in windows phone application 在整个应用程序中更改SystemTray颜色-Windows Phone - change SystemTray Color in whole application - windows phone 应用程序栏图标按钮位于原始设计器Windows Phone上 - application bar icon button over rides original designer windows phone 如何在Windows Phone 8应用程序的应用程序栏中隐藏/显示图标按钮? - How to hide/show the icon button from the application bar in windows phone 8 apps? 如何在Windows Phone中更改图像的颜色? - How to change color of image in windows phone? Windows Phone:如何以编程方式更改应用程序样式 - Windows Phone: how to change the Application style programmatically
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM