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