2 writes to Resources
PresentationFramework (2)
System\Windows\FrameworkElement.cs (1)
754set { Resources = value; }
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
6833SetDelegate = delegate (object target, object value) { ((System.Windows.FrameworkElement)target).Resources = (System.Windows.ResourceDictionary)value; },
17 references to Resources
Microsoft.VisualStudio.LanguageServices (2)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (1)
65Resources.Add(ToolTipStyleKey, new Style(typeof(ToolTip))
VSWpfThemeService.cs (1)
30frameworkElement.Resources.MergedDictionaries.Add(_themeDictionary);
PresentationFramework (9)
System\Windows\FrameworkElement.cs (4)
753get { return Resources; } 774if (Resources == null || Resources.Count == 0) 1620table = fe.Resources;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
6834GetDelegate = delegate (object target) { return ((System.Windows.FrameworkElement)target).Resources; }
System\Windows\ThemeManager.cs (4)
136ThemeMode themeMode = GetThemeModeFromResourceDictionary(window.Resources); 237IEnumerable<int> indices = FindAllFluentThemeResourceDictionaryIndices(window.Resources); 241window.Resources.MergedDictionaries.RemoveAt(index); 254AddOrUpdateThemeResources(window.Resources, GetThemeDictionary(window.ThemeMode));
PresentationFramework.Tests (5)
System\Windows\ResourceDictionaryTests.cs (5)
113textBlock.Resources[key] = brush; 127textBlock.Resources[key] = initialBrush; 133textBlock.Resources[key] = updatedBrush; 150textBlock.Resources[key] = initialBrush; 154textBlock.Resources.Remove(key);
ReachFramework (1)
Serialization\VisualTreeFlattener.cs (1)
771ResourceDictionary res = el.Resources;