Search code examples
windows-phone-7application-bar

How to apply style to application bar globally?


I checked the Application bar but no style attribute is shown. I have about 10 pages that use an app bar so it would be ideal to set a style in the Application.Resources. Is it possible to apply a style to all application bars in my application?


Solution

  • As far as I understand your question, you have different application bars on different pages and you want to have a style which can be applied to all. Unfortunately, binding does not work with application bars. You may have to style all of them one by one. For more information: Windows Phone ApplicationBar BackgroundColor property style XamlParseException