This project is read-only.

Make the accent color dependent on a ModernWindow instead of an application

Jun 13, 2013 at 6:06 AM
So, instead of using AppearanceManager to set the accent color, add a dependency property on ModernWindow named AccentColor of type System.Windows.Media.Color. And instead of setting Application.Current.Resources["AccentColor"], set ModernWindow.Resources["AccentColor"]. That way, the same application may have windows with different colors.
Jun 18, 2013 at 8:13 PM
Good suggestion. Care to create an issue for it?
Jun 20, 2013 at 5:22 AM
I'm not entirely sure about that. I have tried doing so in one of my own projects. The accent color went all crazy. I'm not really fully understanding resources in WPF. Still I suggest giving it a try.