Implemented interface member:
4 writes to
PresentationFramework.Tests (4)
System\Windows\ResourceDictionaryTests.cs (4)
113textBlock.Resources[key] = brush; 127textBlock.Resources[key] = initialBrush; 133textBlock.Resources[key] = updatedBrush; 150textBlock.Resources[key] = initialBrush;
23 references to
Microsoft.VisualStudio.LanguageServices (3)
FindReferences\Entries\DocumentSpanEntry.cs (1)
131if (properties["Background"] is Brush highlightBrush)
InheritanceMargin\InheritanceGlyphManager.cs (1)
224var backgroundColor = (Color)resourceDictionary[EditorFormatDefinition.BackgroundColorId];
ValueTracking\ValueTrackingTreeViewModel.cs (1)
90HighlightBrush = properties["Background"] as Brush;
PresentationFramework (10)
System\Windows\Application.cs (2)
271resource = resources[resourceKey]; 304resource = resources[resourceKey];
System\Windows\Controls\Primitives\CalendarItem.cs (1)
176_dayTitleTemplate = Template.Resources[DayTitleTemplateResourceKey] as DataTemplate;
System\Windows\FrameworkElement.cs (1)
1594object candidate = table[keys[k]];
System\Windows\ResourceDictionary.cs (6)
1451return this[key]; 1455return new DeferredResourceReferenceHolder(key, this[key]); 2180object value = _owner[key]; 2197return _owner[_keysEnumerator.Current]; 2228return _owner[_keysEnumerator.Current]; 2292array.SetValue(_owner[key], index++);
PresentationFramework.Tests (10)
System\Windows\ResourceDictionaryTests.cs (10)
25_dictionary["StaticBrush"].Should().BeOfType<SolidColorBrush>(); 32_dictionary["DynamicBrush"].Should().BeAssignableTo<Brush>(); 39_dictionary["GradientBackground"].Should().BeOfType<LinearGradientBrush>(); 47var style = _dictionary["PrimaryButtonStyle"] as Style; 58var style = _dictionary["PrimaryButtonStyle"] as Style; 74_dictionary["ItemTemplate"].Should().BeOfType<DataTemplate>(); 81_dictionary["CustomControlTemplate"].Should().BeOfType<ControlTemplate>(); 87var baseStyle = _dictionary["BaseTextBlockStyle"] as Style; 88var derivedStyle = _dictionary["DerivedTextBlockStyle"] as Style; 98var style = _dictionary["MultiTriggerStyle"] as Style;