28 references to MergedDictionaries
Microsoft.VisualStudio.LanguageServices (1)
VSWpfThemeService.cs (1)
30frameworkElement.Resources.MergedDictionaries.Add(_themeDictionary);
PresentationFramework (27)
System\Windows\Application.cs (1)
903value.MergedDictionaries.Insert(0, ThemeManager.GetThemeDictionary(ThemeMode));
System\Windows\FrameworkContentElement.cs (1)
249((resources.Count > 0) || (resources.MergedDictionaries.Count > 0)));
System\Windows\FrameworkElement.cs (1)
657((resources.Count > 0) || (resources.MergedDictionaries.Count > 0)));
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
8166GetDelegate = delegate (object target) { return ((System.Windows.ResourceDictionary)target).MergedDictionaries; },
System\Windows\ResourceDictionary.cs (10)
507for (int i = MergedDictionaries.Count - 1; (i > -1); i--) 510ResourceDictionary mergedDictionary = MergedDictionaries[i]; 554for (int i = MergedDictionaries.Count - 1; (i > -1); i--) 557ResourceDictionary mergedDictionary = MergedDictionaries[i]; 730for (int i = MergedDictionaries.Count - 1; (i > -1) && !result; i--) 733ResourceDictionary mergedDictionary = MergedDictionaries[i]; 766for (int i = MergedDictionaries.Count - 1; i > -1; i--) 769ResourceDictionary mergedDictionary = MergedDictionaries[i]; 2071for (int i=0; i<MergedDictionaries.Count; i++) 2073ResourceDictionary mergedDictionary = MergedDictionaries[i];
System\Windows\ThemeManager.cs (12)
187rd.MergedDictionaries.Insert(0, new ResourceDictionary() { Source = dictionaryUri }); 217Application.Current.Resources.MergedDictionaries.RemoveAt(index); 238window.Resources.MergedDictionaries.RemoveAt(index); 354themeMode = GetThemeModeFromSourceUri(rd.MergedDictionaries[index].Source); 393rd.MergedDictionaries[index] = newDictionary; 397rd.MergedDictionaries.Insert(0, newDictionary); 409for (int i = rd.MergedDictionaries.Count - 1; i >= 0; i--) 411if (rd.MergedDictionaries[i].Source != null) 413if (rd.MergedDictionaries[i].Source.ToString().StartsWith(FluentThemeResourceDictionaryUri, 429for (int i = rd.MergedDictionaries.Count - 1; i >= 0; i--) 431if (rd.MergedDictionaries[i].Source != null) 433if (rd.MergedDictionaries[i].Source.ToString().StartsWith(FluentThemeResourceDictionaryUri,
System\Windows\Window.cs (1)
2148value.MergedDictionaries.Insert(0, ThemeManager.GetThemeDictionary(ThemeMode));