Mar 5, 2010 at 7:15 PM
Edited Mar 5, 2010 at 7:16 PM
public static ResourceDictionary GetThemeResourceDictionary(string theme)
if (theme != null)
fails for empty strings
if (! string.IsNullOrEmpty(theme))
The other thing is that all Themes are loading just fine with ThemeManager.ApplyTheme() except "ShinyDarkGreen" which fails with
'#FF000000' is not a valid value for property 'Foreground'.