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