Implemented interface member:
4 writes to
PresentationFramework.Tests (4)
System\Windows\ResourceDictionaryTests.cs (4)
113
textBlock.Resources
[
key] = brush;
127
textBlock.Resources
[
key] = initialBrush;
133
textBlock.Resources
[
key] = updatedBrush;
150
textBlock.Resources
[
key] = initialBrush;
24 references to
Microsoft.VisualStudio.LanguageServices (2)
InheritanceMargin\InheritanceGlyphManager.cs (1)
224
var backgroundColor = (Color)resourceDictionary
[
EditorFormatDefinition.BackgroundColorId];
ValueTracking\ValueTrackingTreeViewModel.cs (1)
90
HighlightBrush = properties
[
"Background"] as Brush;
Microsoft.VisualStudio.LanguageServices.CSharp (2)
SemanticSearch\SemanticSearchToolWindowImpl.cs (2)
225
ImageThemingUtilities.SetImageBackgroundColor(outerGrid, (Color)Application.Current.Resources
[
CommonDocumentColors.PageBackgroundColorKey]);
257
BorderBrush = (Brush)Application.Current.Resources
[
EnvironmentColors.SystemHighlightBrushKey],
PresentationFramework (10)
System\Windows\Application.cs (2)
271
resource = resources
[
resourceKey];
304
resource = resources
[
resourceKey];
System\Windows\Controls\Primitives\CalendarItem.cs (1)
176
_dayTitleTemplate = Template.Resources
[
DayTitleTemplateResourceKey] as DataTemplate;
System\Windows\FrameworkElement.cs (1)
1594
object candidate = table
[
keys[k]];
System\Windows\ResourceDictionary.cs (6)
1394
return this
[
key];
1398
return new DeferredResourceReferenceHolder(key, this
[
key]);
2154
object value = _owner
[
key];
2171
return _owner
[
_keysEnumerator.Current];
2202
return _owner
[
_keysEnumerator.Current];
2266
array.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>();
47
var style = _dictionary
[
"PrimaryButtonStyle"] as Style;
58
var style = _dictionary
[
"PrimaryButtonStyle"] as Style;
74
_dictionary
[
"ItemTemplate"].Should().BeOfType<DataTemplate>();
81
_dictionary
[
"CustomControlTemplate"].Should().BeOfType<ControlTemplate>();
87
var baseStyle = _dictionary
[
"BaseTextBlockStyle"] as Style;
88
var derivedStyle = _dictionary
[
"DerivedTextBlockStyle"] as Style;
98
var style = _dictionary
[
"MultiTriggerStyle"] as Style;