When does exactly the color of appbar's icon changes (that is, from white to black, or drom black to white)? When the theme is switched from black to white, or when the background brush of Application Bar is changed? What I if I want to apply my own custom theme, so that the application bar is always white? I use black icons, but will they turn to white in Dark theme, even thouh the app bar is white (as it was customly changed)?
相关问题
- An error is occur when we use navigation to move o
- Custom number picker?
- binding font-awesome character in XAML to Text
- Windows Phone 7 call ASMX web service
- Can windows phone 7 microphone detect frequencies
相关文章
- Working with hmacsha256 in windows store app
- WP7 Alert dialog
- Add Service Reference and Add Web Reference?
- Scrollviewer & SIP Issue (WP7.5 Mango)
- Database for Windows Phone 7 [closed]
- Windows phone 7: how to post tweet to twitter
- How to Play youtube videos in windows phone 7?
- Passing objects between classes in Windows Phone/C
All the icons used in the ApplicationBar should be 48x48 PNG files, white with transparent background.
Windows Phone will take care of changing the color of the icon if the the user is using a light theme (so the icon will turn to black)
You can read here the rules for the icons, and here on how to create a new one!
XAML
The following XAML shows how to set the foreground and background colour and opacity of the application bar.
Same for C#