I need a progress bar to show up on most, if not all pages. Is there a good way to easily have the progress bar be on all pages?
I have a base page class that all my pages inherit from. I was thinking of just dynamically adding the progress bar to every page in the base class, but couldn’t figure out how to do that. I would be able to just have the base page subscribe to a message (MVVM Light) and send a message when I want the progress bar to show or hide.
Josh,
Check out this recent blog post by Jeff Wilcox. He discusses is “old” way of using a single instance of a PerformanceProgressBar in his app (by modifying the RootFrame) and his new way (in Mango). I’m not sure if his new way would work in a pre-mango app, but you can check it out and see.
http://www.jeff.wilcox.name/2011/07/creating-a-global-progressindicator-experience-using-the-windows-phone-7-1-sdk-beta-2/