user1810659 user1810659 - 1 year ago 135
C# Question

Windows store app: change background color of the Appbar

I have an Appbar on my app and the background is white, any ideas how I can change this?
Here is my code:

Style="{StaticResource HomeAppBarButtonStyle}" />

This gives:
enter image description here

But I want to change it to this:enter image description here

Answer Source

The AppBar has a Background property. Use that property to set the color, for example by using a resource.

<AppBar  Background="{StaticResource AppBarBackground}">

AppBarBackground could be SolidColorBrush

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download