MahApps/MahApps.Metro — pull request #522 by Amrykid (2013-06-09 13:35:42+00:00)
Title: Theme App.xaml Resources Fix

Fixes #445 but introduces a similar bug for the slider, unfortunately.

It works by detecting any MA.M resources in the App.xaml and automatically removes them from App.xaml and applies them to the current MetroWindow's ResourceDictionary, lastly, calling ApplyTemplate to rebuild the window with the updated resources/styles.

See my comment in #445 for details.