[英]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.