Hi guys,
I just want to change the default theme AeroNormalColor to OfficeBlack. Looking into the basic Features demo, this is what I did (it compiles but doesn't work):
public partial class Shell : Window {
public Shell(){
InitializeComponent();
ChangeTheme(ThemeName.OfficeBlack.ToString());
}
private void ChangeTheme(string themeName) {
ThemeManager.SetTheme(this, themeName);
ThemeManager.SetTheme(MainRegion, themeName); //MainRegion is the name of the dockSite in PrismIntegration
}
}
Any hints to make this work ?
[Modified 12 years ago]