9 instantiations of DynamicResourceExtension
PresentationFramework (9)
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
121new DynamicResourceExtension(SystemColors.WindowBrushKey)));
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
1723value = new DynamicResourceExtension(param);
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (2)
4030bamlType.DefaultConstructor = delegate() { return new System.Windows.DynamicResourceExtension(); }; 4036return new System.Windows.DynamicResourceExtension(
src\Framework\System\Windows\Markup\BamlRecordReader.cs (2)
1479instance = new DynamicResourceExtension(param); 2435valueObject = new DynamicResourceExtension(innerExtensionValue);
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1254case KnownElements.DynamicResourceExtension: o = new System.Windows.DynamicResourceExtension(); break;
src\Framework\System\Windows\Markup\Primitives\FrameworkElementFactoryMarkupObject.cs (1)
205return new DynamicResourceExtension(_propertyValue.Value);
src\Framework\System\Windows\ResourceReferenceExpressionConverter.cs (1)
135return new DynamicResourceExtension(expr.ResourceKey);
24 references to DynamicResourceExtension
PresentationFramework (23)
src\Framework\System\Windows\DynamicResourceExtensionConverter.cs (3)
57DynamicResourceExtension dynamicResource = value as DynamicResourceExtension; 62return new InstanceDescriptor(typeof(DynamicResourceExtension).GetConstructor(new Type[] { typeof(object) }),
src\Framework\System\Windows\FrameworkElementFactory.cs (2)
245DynamicResourceExtension dynamicResourceExtension = value as DynamicResourceExtension;
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
281case 189: t = () => typeof(DynamicResourceExtension); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4028typeof(System.Windows.DynamicResourceExtension),
src\Framework\System\Windows\Markup\BamlRecordReader.cs (1)
2454valueTypeName = typeof(DynamicResourceExtension).FullName;
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5733case KnownElements.DynamicResourceExtension: t = typeof(System.Windows.DynamicResourceExtension); break;
src\Framework\System\Windows\Markup\WpfXamlLoader.cs (3)
273XamlType dynamicResourceType = xamlType.SchemaContext.GetXamlType(typeof(DynamicResourceExtension)); 289DynamicResourceExtension value = xamlReader.Value as DynamicResourceExtension;
src\Framework\System\Windows\Setter.cs (2)
123if ( !(value is DynamicResourceExtension) && !(value is System.Windows.Data.BindingBase) ) 256else if (me is DynamicResourceExtension || me is BindingBase)
src\Framework\System\Windows\Style.cs (2)
674DynamicResourceExtension dynamicResource = setter.ValueInternal as DynamicResourceExtension;
src\Framework\System\Windows\TemplateContent.cs (5)
281else if (value.ValueInternal is DynamicResourceExtension) // Use ValueInternal to avoid creating deferred resource references 283DynamicResourceExtension dynamicResource = value.Value as DynamicResourceExtension; 1089if (typeofValue != typeof(DynamicResourceExtension) 1181value is DynamicResourceExtension)
src\Framework\System\Windows\TriggerBase.cs (2)
299DynamicResourceExtension dynamicResource = value as DynamicResourceExtension;
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\ExtensibilityAccessor.cs (1)
626else if (typeof(DynamicResourceExtension).IsAssignableFrom(valueType))