问题
I need to know if there is a way to expand the application bar in Windows Phone app from code.
Here is a demo of the application bar states:
回答1:
Even though there is no API for 3rd party developers to do this, the application bar is a bit of an oddity on WP7. If you view a picture full size in the picture hub it will automatically expand the menu for you. Perhaps this is a UI mistake or perhaps we'll all gain access to this API in a future update. It's worth checking back on.
回答2:
No, there isn't (Really, read the docs first next time.). And why would you want to do such madness anyway. The UI should react to the users interaction, not the other way around!
来源:https://stackoverflow.com/questions/6973079/expand-application-bar-in-windows-phone-7-app-from-code