2 writes to Resources
PresentationFramework (2)
System\Windows\Application.cs (1)
930set { Resources = value; }
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
7430SetDelegate = 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)
929get { 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)
7431GetDelegate = delegate (object target) { return ((System.Windows.Application)target).Resources; }
System\Windows\SystemResources.cs (2)
1882lock (((ICollection)Application.Current.Resources).SyncRoot) 1891lock (((ICollection)Application.Current.Resources).SyncRoot)
System\Windows\ThemeManager.cs (6)
26AddOrUpdateThemeResources(Application.Current.Resources, GetThemeDictionary(Application.Current.ThemeMode)); 85AddOrUpdateThemeResources(Application.Current.Resources, GetThemeDictionary(newThemeMode)); 120ThemeMode themeMode = GetThemeModeFromResourceDictionary(Application.Current.Resources); 200return Application.Current != null && LastIndexOfFluentThemeDictionary(Application.Current.Resources) != -1; 213IEnumerable<int> indices = FindAllFluentThemeResourceDictionaryIndices(Application.Current.Resources); 217Application.Current.Resources.MergedDictionaries.RemoveAt(index);