public override IEnumerable<ThemedResourceDictionaryReference> DictionaryReferences
{
get
{
if (dictionaryReferences == null)
{
string baseUri = ResourceHelper.GetLocationUriStringBase(Assembly.GetExecutingAssembly()) + "CustomThemes/";
dictionaryReferences = new ThemedResourceDictionaryReference[] {
new ThemedResourceDictionaryReference() {
LocationUri = new Uri(baseUri + "Steam.xaml", UriKind.RelativeOrAbsolute),
Themes = new string[] {
ThemeName.Custom.ToString(), },
},
};
}
return dictionaryReferences;
}
}
In The above method we see that ThemeName is an enum and Custom is one value to use our customtheme, which is Steam.xaml. We need few more custom themes which probably might have names like Steam1.xaml, Steam2.xaml.
We dont want ThemeName.Custom to override the steam.xaml. We need our custom themes work independent like your themes in sample (OfficeBlue, Classic etc..) Suggest me anything that would help implement our custom themes.