To begin i read all resources from xml in my MergedDictionaries and now I like "select" any Resources as Current.Resources
首先,我在MergedDictionaries中读取xml中的所有资源,现在我喜欢“选择”任何资源作为Current.Resources
PSEUDOCODE:
Application.Current.Resources = Resources.From.MergedDictionaries.Selected(themeId.Path);
Any Idea?
1 个解决方案
#1
You can use Application.FindResource
, it also searches MergedDictionaries
您可以使用Application.FindResource,它还会搜索MergedDictionaries
#1
You can use Application.FindResource
, it also searches MergedDictionaries
您可以使用Application.FindResource,它还会搜索MergedDictionaries