2

I was wondering if it was possible (and how) to set a theme for all standard controls to match that of Windows 8. Not the Metro WinRT theme, but the Desktop version of Windows 8. It's more flat than Aero and looks more modern.

Is it possible to "bake in" this theme into my app?

New Dev
  • 48,427
  • 12
  • 87
  • 129
  • [this](http://stackoverflow.com/a/16325397/643085) might help you. – Federico Berasategui Jul 25 '13 at 03:49
  • @HighCore, Thanks - that helped with forcing a theme (I was able to force a Luna theme on Win8). Where can I find the Win8 theme assembly? I don't even know how it's called (it's not Aero, right?) – New Dev Jul 25 '13 at 04:15
  • @HighCore, Never mind - I found this [thread](http://social.msdn.microsoft.com/Forums/vstudio/en-US/e3dd4221-af4d-4ae4-a983-895db12ebcd0/what-is-the-theme-name-for-a-wpf-application-on-windows-8) which said that the theme is in PresentationFramework.Aero2.dll. – New Dev Jul 25 '13 at 04:26
  • @HighCore, if you want to write the answer below, I'll mark it as "answered" – New Dev Jul 25 '13 at 04:27

1 Answers1

1

As per the comments above:

You need to add a reference to PresentationFramework.Aero2.dll in your application and get the styles from there.

Federico Berasategui
  • 43,562
  • 11
  • 100
  • 154
  • I just noticed that I ran into a problem - ClickOnce deploy for some reason does not include .Aero2.dll in the deploy. Any idea why? – New Dev Jul 28 '13 at 00:26