Changing the Foreground Color of an Indeterminate ProgressBar

You would think that the following XAML changes the indeterminate progress bar’s foreground color: < ProgressBar IsIndeterminate ="True" Foreground ="Aquamarine" />

Unfortunately, that doesn’t work. You will need to override the following value in the default theme resource dictionary:

< ResourceDictionary.ThemeDictionaries >
< ResourceDictionary x:Key ="Default" >
< x:String x:Key ="ProgressBarIndeterminateForegroundThemeBrush"…(read more)

Comments are closed.