Change Foreground of AppBar button

How to change foreground color of an app bar button icon.
  • 3387

If  you are using standard app bar button styles come with a Visual Studio project, you know the default foreground color of built-in app bar button icon is white. If your application's theme is green, you may want your app bar buttons foreground green. You can change the icon color to green by simply setting its Foreground property to Green.

The following code snippets sets an app bar icon foreground to green.

<Button Style="{StaticResource CutAppBarButtonStyle}" Click="CutButtonClick" Foreground="Green"/>

© 2020 DotNetHeaven. All rights reserved.