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