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