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