12 instantiations of DynamicResourceExtension
Microsoft.VisualStudio.LanguageServices (3)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (3)
69new Setter(BackgroundProperty, new DynamicResourceExtension(EnvironmentColors.ToolTipBrushKey)), 70new Setter(BorderBrushProperty, new DynamicResourceExtension(EnvironmentColors.ToolTipBorderBrushKey)), 71new Setter(ForegroundProperty, new DynamicResourceExtension(EnvironmentColors.ToolTipTextBrushKey)),
PresentationFramework (9)
System\Windows\Controls\InkCanvas.cs (1)
97new DynamicResourceExtension(SystemColors.WindowBrushKey)));
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
1709value = new DynamicResourceExtension(param);
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (2)
4348DefaultConstructor = delegate () { return new System.Windows.DynamicResourceExtension(); }, 4355return new System.Windows.DynamicResourceExtension(
System\Windows\Markup\BamlRecordReader.cs (2)
1435instance = new DynamicResourceExtension(param); 2387valueObject = new DynamicResourceExtension(innerExtensionValue);
System\Windows\Markup\KnownTypes.cs (1)
1246case KnownElements.DynamicResourceExtension: o = new System.Windows.DynamicResourceExtension(); break;
System\Windows\Markup\Primitives\FrameworkElementFactoryMarkupObject.cs (1)
192return new DynamicResourceExtension(_propertyValue.Value);
System\Windows\ResourceReferenceExpressionConverter.cs (1)
123return new DynamicResourceExtension(expr.ResourceKey);
25 references to DynamicResourceExtension
PresentationFramework (23)
System\Windows\DynamicResourceExtensionConverter.cs (3)
44DynamicResourceExtension dynamicResource = value as DynamicResourceExtension; 49return new InstanceDescriptor(typeof(DynamicResourceExtension).GetConstructor(new Type[] { typeof(object) }),
System\Windows\FrameworkElementFactory.cs (2)
226DynamicResourceExtension dynamicResourceExtension = value as DynamicResourceExtension;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
282case 189: t = () => typeof(DynamicResourceExtension); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4345typeof(System.Windows.DynamicResourceExtension),
System\Windows\Markup\BamlRecordReader.cs (1)
2406valueTypeName = typeof(DynamicResourceExtension).FullName;
System\Windows\Markup\KnownTypes.cs (1)
5736case KnownElements.DynamicResourceExtension: t = typeof(System.Windows.DynamicResourceExtension); break;
System\Windows\Markup\WpfXamlLoader.cs (3)
289XamlType dynamicResourceType = xamlType.SchemaContext.GetXamlType(typeof(DynamicResourceExtension)); 305DynamicResourceExtension value = xamlReader.Value as DynamicResourceExtension;
System\Windows\Setter.cs (2)
110if ( !(value is DynamicResourceExtension) && !(value is System.Windows.Data.BindingBase) ) 237else if (me is DynamicResourceExtension || me is BindingBase)
System\Windows\Style.cs (2)
641DynamicResourceExtension dynamicResource = setter.ValueInternal as DynamicResourceExtension;
System\Windows\TemplateContent.cs (5)
268else if (value.ValueInternal is DynamicResourceExtension) // Use ValueInternal to avoid creating deferred resource references 270DynamicResourceExtension dynamicResource = value.Value as DynamicResourceExtension; 1016if (typeofValue != typeof(DynamicResourceExtension) 1108value is DynamicResourceExtension)
System\Windows\TriggerBase.cs (2)
288DynamicResourceExtension dynamicResource = value as DynamicResourceExtension;
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
1556DynamicResourceExtension dynamicResource = _rreConverter.ConvertTo(expr, typeof(MarkupExtension)) as DynamicResourceExtension;