28 references to MergedDictionaries
Microsoft.VisualStudio.LanguageServices (1)
VSWpfThemeService.cs (1)
30frameworkElement.Resources.MergedDictionaries.Add(_themeDictionary);
PresentationFramework (27)
System\Windows\Application.cs (1)
939value.MergedDictionaries.Insert(0, ThemeManager.GetThemeDictionary(ThemeMode));
System\Windows\FrameworkContentElement.cs (1)
270((resources.Count > 0) || (resources.MergedDictionaries.Count > 0)));
System\Windows\FrameworkElement.cs (1)
675((resources.Count > 0) || (resources.MergedDictionaries.Count > 0)));
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
7569bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.ResourceDictionary)target).MergedDictionaries; };
System\Windows\ResourceDictionary.cs (10)
517for (int i = MergedDictionaries.Count - 1; (i > -1); i--) 520ResourceDictionary mergedDictionary = MergedDictionaries[i]; 564for (int i = MergedDictionaries.Count - 1; (i > -1); i--) 567ResourceDictionary mergedDictionary = MergedDictionaries[i]; 740for (int i = MergedDictionaries.Count - 1; (i > -1) && !result; i--) 743ResourceDictionary mergedDictionary = MergedDictionaries[i]; 776for (int i = MergedDictionaries.Count - 1; i > -1; i--) 779ResourceDictionary mergedDictionary = MergedDictionaries[i]; 2079for (int i=0; i<MergedDictionaries.Count; i++) 2081ResourceDictionary mergedDictionary = MergedDictionaries[i];
System\Windows\ThemeManager.cs (12)
196rd.MergedDictionaries.Insert(0, new ResourceDictionary() { Source = dictionaryUri }); 226Application.Current.Resources.MergedDictionaries.RemoveAt(index); 247window.Resources.MergedDictionaries.RemoveAt(index); 363themeMode = GetThemeModeFromSourceUri(rd.MergedDictionaries[index].Source); 402rd.MergedDictionaries[index] = newDictionary; 406rd.MergedDictionaries.Insert(0, newDictionary); 418for (int i = rd.MergedDictionaries.Count - 1; i >= 0; i--) 420if (rd.MergedDictionaries[i].Source != null) 422if (rd.MergedDictionaries[i].Source.ToString().StartsWith(FluentThemeResourceDictionaryUri, 438for (int i = rd.MergedDictionaries.Count - 1; i >= 0; i--) 440if (rd.MergedDictionaries[i].Source != null) 442if (rd.MergedDictionaries[i].Source.ToString().StartsWith(FluentThemeResourceDictionaryUri,
System\Windows\Window.cs (1)
2167value.MergedDictionaries.Insert(0, ThemeManager.GetThemeDictionary(ThemeMode));