Dynamically change implicit style
问题 Right now I have some TabItems in my App which are implicitly styled. I want to add a "Night mode" to my app and change my style. How should I go about this? 回答1: You can do this with merged dictionaries. Put all your "normal" styles in a dictionary and add it to the app resources by default: <Application.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="Styles/Normal.xaml"/> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> <