I’m building up a sample app that leverages the MahApps.Metro libraries. One of the challenges is setting the AppTheme and Accent colors dynamically. I looked through more than a few online solutions and none of them worked for me. Usually, the syntax was from an earlier version and didn’t match the ThemeManager object that I downloaded from NuGet (v126.96.36.199).
After comparing the sample app (v4.5) against my code in VS, I noticed the results from ThemeManager.DetectAppStyle() was always null in my app and valid in the sample app. Continue reading Setting Theme/Accent with MahApps.Metro