add the following tag to your App.Xaml:
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
-- reference your dictionaries here --
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
Then for -- reference your dictionaries here --
part: each dictionary can be added by its full path:
<ResourceDictionary Source="pack://application:,,,/MySolution.MyProject;component/Theme/Generic.xaml"/>
if in the same project by its relative path:
<ResourceDictionary Source="ThemesGeneric.xaml"/>
or defined inline:
<Style x:Key="TextViewAllStyle" TargetType="TextBlock">
</Style>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…