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;
24 references to
Microsoft.VisualStudio.LanguageServices (2)
InheritanceMargin\InheritanceGlyphManager.cs (1)
224var backgroundColor = (Color)resourceDictionary[EditorFormatDefinition.BackgroundColorId];
ValueTracking\ValueTrackingTreeViewModel.cs (1)
90HighlightBrush = properties["Background"] as Brush;
Microsoft.VisualStudio.LanguageServices.CSharp (2)
SemanticSearch\SemanticSearchToolWindowImpl.cs (2)
225ImageThemingUtilities.SetImageBackgroundColor(outerGrid, (Color)Application.Current.Resources[CommonDocumentColors.PageBackgroundColorKey]); 257BorderBrush = (Brush)Application.Current.Resources[EnvironmentColors.SystemHighlightBrushKey],
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)
1394return this[key]; 1398return new DeferredResourceReferenceHolder(key, this[key]); 2154object value = _owner[key]; 2171return _owner[_keysEnumerator.Current]; 2202return _owner[_keysEnumerator.Current]; 2266array.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;