50 references to Types
PresentationFramework (50)
System\Windows\Markup\BamlMapTable.cs (12)
106
return KnownTypes.
Types
[-id];
131
Type probeType = KnownTypes.
Types
[probe];
328
return KnownTypes.
Types
[(int)tcId];
352
return KnownTypes.
Types
[(int)converterId];
415
return KnownTypes.
Types
[-id];
479
KnownTypes.
Types
[(int)KnownElements.XamlStyleSerializer];
491
KnownTypes.
Types
[(int)KnownElements.XamlTemplateSerializer];
501
info.AssemblyId = GetAssemblyIdForType(KnownTypes.
Types
[-id]);
505
info.Type = KnownTypes.
Types
[-id];
1406
converterOrSerializerType = KnownTypes.
Types
[(int)converterOrSerializerTypeId];
1613
else if (type == KnownTypes.
Types
[(int)KnownElements.DependencyProperty])
1628
return KnownTypes.
Types
[index];
System\Windows\Markup\BamlRecords.cs (3)
475
return (KnownTypes.
Types
[(int)KnownElements.IAddChildInternal].IsAssignableFrom( parentObjectType ));
4709
|| (KnownTypes.
Types
[(int)KnownElements.DependencyProperty].IsAssignableFrom(propertyMember.GetType())),
4752
KnownTypes.
Types
[(int)KnownElements.DependencyProperty].IsAssignableFrom(PropertyMember.GetType( )) )
System\Windows\Markup\BamlRecordWriter.cs (9)
301
else if (CollectingValues && KnownTypes.
Types
[(int)KnownElements.StaticResourceExtension] == xamlElementNode.ElementType)
315
else if (CollectingValues && KnownTypes.
Types
[(int)KnownElements.DynamicResourceExtension] == xamlElementNode.ElementType)
352
KnownTypes.
Types
[(int)KnownElements.StaticExtension].IsAssignableFrom(xamlElementNode.ElementType) ||
353
KnownTypes.
Types
[(int)KnownElements.TypeExtension].IsAssignableFrom(xamlElementNode.ElementType))
371
else if (_deferLoadingSupport && KnownTypes.
Types
[(int)KnownElements.ResourceDictionary].IsAssignableFrom(xamlElementNode.ElementType))
794
!KnownTypes.
Types
[(int)KnownElements.StaticExtension].IsAssignableFrom(xamlKeyElementNode.ElementType) &&
795
!KnownTypes.
Types
[(int)KnownElements.TypeExtension].IsAssignableFrom(xamlKeyElementNode.ElementType) &&
796
!KnownTypes.
Types
[(int)KnownElements.ResourceKey].IsAssignableFrom(xamlKeyElementNode.ElementType))
1676
((BamlElementStartRecord)valueDeferRecord.Record).TypeId == BamlMapTable.GetKnownTypeIdFromType(KnownTypes.
Types
[(int)KnownElements.StaticResourceExtension]),
System\Windows\Markup\MarkupExtensionParser.cs (9)
158
if (KnownTypes.
Types
[(int)KnownElements.TypeExtension] == extensionType)
163
else if (KnownTypes.
Types
[(int)KnownElements.StaticExtension] == extensionType)
168
else if (KnownTypes.
Types
[(int)KnownElements.TemplateBindingExtension] == extensionType)
173
else if (KnownTypes.
Types
[(int)KnownElements.DynamicResourceExtension] == extensionType)
178
else if (KnownTypes.
Types
[(int)KnownElements.StaticResourceExtension] == extensionType)
201
if (KnownTypes.
Types
[(int)KnownElements.TypeExtension] == extensionType)
516
if (KnownTypes.
Types
[(int)KnownElements.TypeExtension] == targetType)
523
else if (KnownTypes.
Types
[(int)KnownElements.StaticExtension] == targetType)
600
else if (!KnownTypes.
Types
[(int)KnownElements.MarkupExtension].IsAssignableFrom(targetType))
System\Windows\Markup\XamlTypeMapper.cs (14)
1305
Type dependencyObjectType = KnownTypes.
Types
[(int)KnownElements.DependencyObject];
1464
Type dependencyObjectType = KnownTypes.
Types
[(int)KnownElements.DependencyObject];
1831
if (KnownTypes.
Types
[(int)KnownElements.FrameworkElement].IsAssignableFrom(typeAndSerializer.ObjectType) ||
1832
KnownTypes.
Types
[(int)KnownElements.FrameworkContentElement].IsAssignableFrom(typeAndSerializer.ObjectType))
1834
typeAndSerializer.XmlLangProperty = (KnownTypes.
Types
[(int)KnownElements.FrameworkElement]).GetProperty("Language",
2677
if (objectType == KnownTypes.
Types
[(int)KnownElements.Brush])
2681
else if (objectType == KnownTypes.
Types
[(int)KnownElements.Geometry] ||
2682
objectType == KnownTypes.
Types
[(int)KnownElements.StreamGeometry])
2691
else if (objectType == KnownTypes.
Types
[(int)KnownElements.Point3DCollection])
2695
else if (objectType == KnownTypes.
Types
[(int)KnownElements.Vector3DCollection])
2699
else if (objectType == KnownTypes.
Types
[(int)KnownElements.PointCollection])
2703
else if (objectType == KnownTypes.
Types
[(int)KnownElements.Int32Collection])
2718
if (objectType == KnownTypes.
Types
[(int)KnownElements.Style])
2722
else if (KnownTypes.
Types
[(int)KnownElements.FrameworkTemplate].IsAssignableFrom(objectType))
System\Windows\SystemResourceKey.cs (3)
373
if ((KnownTypes.
Types
[(int)KnownElements.MenuItem] == targetType) ||
374
(KnownTypes.
Types
[(int)KnownElements.ToolBar] == targetType) ||
375
(KnownTypes.
Types
[(int)KnownElements.StatusBar] == targetType))