2 writes to Resources
PresentationFramework (2)
System\Windows\Application.cs (1)
930
set {
Resources
= value; }
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
7430
SetDelegate = delegate (object target, object value) { ((System.Windows.Application)target).
Resources
= (System.Windows.ResourceDictionary)value; },
11 references to Resources
PresentationFramework (11)
System\Windows\Application.cs (2)
929
get { return
Resources
; }
948
/// <see cref="ThemeMode"/> and <see cref="
Resources
"/> are designed to be in sync with each other.
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
7431
GetDelegate = delegate (object target) { return ((System.Windows.Application)target).
Resources
; }
System\Windows\SystemResources.cs (2)
1882
lock (((ICollection)Application.Current.
Resources
).SyncRoot)
1891
lock (((ICollection)Application.Current.
Resources
).SyncRoot)
System\Windows\ThemeManager.cs (6)
26
AddOrUpdateThemeResources(Application.Current.
Resources
, GetThemeDictionary(Application.Current.ThemeMode));
85
AddOrUpdateThemeResources(Application.Current.
Resources
, GetThemeDictionary(newThemeMode));
120
ThemeMode themeMode = GetThemeModeFromResourceDictionary(Application.Current.
Resources
);
200
return Application.Current != null && LastIndexOfFluentThemeDictionary(Application.Current.
Resources
) != -1;
213
IEnumerable<int> indices = FindAllFluentThemeResourceDictionaryIndices(Application.Current.
Resources
);
217
Application.Current.
Resources
.MergedDictionaries.RemoveAt(index);