2 writes to Resources
PresentationFramework (2)
System\Windows\Application.cs (1)
969
set {
Resources
= value; }
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
6907
bamlMember.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)
968
get { return
Resources
; }
987
/// <see cref="ThemeMode"/> and <see cref="
Resources
"/> are designed to be in sync with each other.
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
6908
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Application)target).
Resources
; };
System\Windows\SystemResources.cs (2)
1908
lock (((ICollection)Application.Current.
Resources
).SyncRoot)
1917
lock (((ICollection)Application.Current.
Resources
).SyncRoot)
System\Windows\ThemeManager.cs (6)
36
AddOrUpdateThemeResources(Application.Current.
Resources
, GetThemeDictionary(Application.Current.ThemeMode));
94
AddOrUpdateThemeResources(Application.Current.
Resources
, GetThemeDictionary(newThemeMode));
129
ThemeMode themeMode = GetThemeModeFromResourceDictionary(Application.Current.
Resources
);
209
return Application.Current != null && LastIndexOfFluentThemeDictionary(Application.Current.
Resources
) != -1;
222
IEnumerable<int> indices = FindAllFluentThemeResourceDictionaryIndices(Application.Current.
Resources
);
226
Application.Current.
Resources
.MergedDictionaries.RemoveAt(index);