1 type derived from StaticResourceExtension
PresentationFramework (1)
src\Framework\System\Windows\Markup\BamlRecordReader.cs (1)
5731internal class StaticResourceHolder : StaticResourceExtension
7 instantiations of StaticResourceExtension
PresentationFramework (7)
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
1728value = new StaticResourceExtension(param);
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (2)
9441bamlType.DefaultConstructor = delegate() { return new System.Windows.StaticResourceExtension(); }; 9446return new System.Windows.StaticResourceExtension(
src\Framework\System\Windows\Markup\BamlRecordReader.cs (2)
1471instance = new StaticResourceExtension(param); 2440valueObject = new StaticResourceExtension(innerExtensionValue);
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1567case KnownElements.StaticResourceExtension: o = new System.Windows.StaticResourceExtension(); break;
src\Framework\System\Windows\ResourceDictionary.cs (1)
1215StaticResourceExtension staticResourceWorker = new StaticResourceExtension();
30 references to StaticResourceExtension
PresentationFramework (29)
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
695case 603: t = () => typeof(StaticResourceExtension); break;
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
854InjectPropertyAndFrameIfNeeded(_context.SchemaContext.GetXamlType(typeof(StaticResourceExtension)), 0);
src\Framework\System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (1)
705= new Lazy<XamlType>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(StaticResourceExtension)));
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9439typeof(System.Windows.StaticResourceExtension),
src\Framework\System\Windows\Markup\Baml2006\WpfSharedBamlSchemaContext.cs (1)
385= new Lazy<XamlType>(() => System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(StaticResourceExtension)));
src\Framework\System\Windows\Markup\BamlRecordReader.cs (5)
1889StaticResourceExtension staticResource = (StaticResourceExtension)GetCurrentObjectData(); 1902StaticResourceExtension staticResource = (StaticResourceExtension)GetExtensionValue((IOptimizedMarkupExtension)srRecord, null); 2457valueTypeName = typeof(StaticResourceExtension).FullName;
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
6147case KnownElements.StaticResourceExtension: t = typeof(System.Windows.StaticResourceExtension); break;
src\Framework\System\Windows\ResourceDictionary.cs (3)
1176XamlType xamlTypeStaticResourceExtension = reader.SchemaContext.GetXamlType(typeof(StaticResourceExtension)); 1215StaticResourceExtension staticResourceWorker = new StaticResourceExtension(); 1279private void SetOptimizedStaticResources(IList<object> staticResources, IServiceProvider serviceProvider, StaticResourceExtension staticResourceWorker)
src\Framework\System\Windows\Setter.cs (3)
250if (me is StaticResourceExtension) 252var sr = me as StaticResourceExtension;
src\Framework\System\Windows\TemplateContent.cs (12)
481if (xamlReader.Type.UnderlyingType == typeof(StaticResourceExtension)) 750StaticResourceExtension staticResource = value as StaticResourceExtension; 763if (staticResource.GetType() == typeof(StaticResourceExtension)) 818private StaticResourceExtension LoadTimeBindUnshareableStaticResource(Xaml.XamlReader xamlReader, XamlObjectWriter writer) 821Debug.Assert(xamlReader.Type.UnderlyingType == typeof(StaticResourceExtension)); 842StaticResourceExtension resource = writer.Result as StaticResourceExtension; 1013if (typeof(StaticResourceExtension).IsAssignableFrom(xamlReader.Type.UnderlyingType)) 1046if (xamlReader.Value != null && typeof(StaticResourceExtension).IsAssignableFrom(xamlReader.Value.GetType())) 1185else if ((value is StaticResourceExtension) || (value is StaticResourceHolder)) 1239!typeof(StaticResourceExtension).IsAssignableFrom(type))
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\ExtensibilityAccessor.cs (1)
622else if (typeof(StaticResourceExtension).IsAssignableFrom(valueType))