50 references to Types
PresentationFramework (50)
System\Windows\Markup\BamlMapTable.cs (12)
97
return KnownTypes.
Types
[-id];
122
Type probeType = KnownTypes.
Types
[probe];
319
return KnownTypes.
Types
[(int)tcId];
343
return KnownTypes.
Types
[(int)converterId];
404
return KnownTypes.
Types
[-id];
463
KnownTypes.
Types
[(int)KnownElements.XamlStyleSerializer];
475
KnownTypes.
Types
[(int)KnownElements.XamlTemplateSerializer];
486
AssemblyId = GetAssemblyIdForType(KnownTypes.
Types
[-id])
491
info.Type = KnownTypes.
Types
[-id];
1393
converterOrSerializerType = KnownTypes.
Types
[(int)converterOrSerializerTypeId];
1601
else if (type == KnownTypes.
Types
[(int)KnownElements.DependencyProperty])
1616
return KnownTypes.
Types
[index];
System\Windows\Markup\BamlRecords.cs (3)
462
return (KnownTypes.
Types
[(int)KnownElements.IAddChildInternal].IsAssignableFrom( parentObjectType ));
4696
|| (KnownTypes.
Types
[(int)KnownElements.DependencyProperty].IsAssignableFrom(propertyMember.GetType())),
4738
KnownTypes.
Types
[(int)KnownElements.DependencyProperty].IsAssignableFrom(PropertyMember.GetType( )) )
System\Windows\Markup\BamlRecordWriter.cs (9)
297
else if (CollectingValues && KnownTypes.
Types
[(int)KnownElements.StaticResourceExtension] == xamlElementNode.ElementType)
311
else if (CollectingValues && KnownTypes.
Types
[(int)KnownElements.DynamicResourceExtension] == xamlElementNode.ElementType)
348
KnownTypes.
Types
[(int)KnownElements.StaticExtension].IsAssignableFrom(xamlElementNode.ElementType) ||
349
KnownTypes.
Types
[(int)KnownElements.TypeExtension].IsAssignableFrom(xamlElementNode.ElementType))
367
else if (_deferLoadingSupport && KnownTypes.
Types
[(int)KnownElements.ResourceDictionary].IsAssignableFrom(xamlElementNode.ElementType))
788
!KnownTypes.
Types
[(int)KnownElements.StaticExtension].IsAssignableFrom(xamlKeyElementNode.ElementType) &&
789
!KnownTypes.
Types
[(int)KnownElements.TypeExtension].IsAssignableFrom(xamlKeyElementNode.ElementType) &&
790
!KnownTypes.
Types
[(int)KnownElements.ResourceKey].IsAssignableFrom(xamlKeyElementNode.ElementType))
1667
((BamlElementStartRecord)valueDeferRecord.Record).TypeId == BamlMapTable.GetKnownTypeIdFromType(KnownTypes.
Types
[(int)KnownElements.StaticResourceExtension]),
System\Windows\Markup\MarkupExtensionParser.cs (9)
150
if (KnownTypes.
Types
[(int)KnownElements.TypeExtension] == extensionType)
155
else if (KnownTypes.
Types
[(int)KnownElements.StaticExtension] == extensionType)
160
else if (KnownTypes.
Types
[(int)KnownElements.TemplateBindingExtension] == extensionType)
165
else if (KnownTypes.
Types
[(int)KnownElements.DynamicResourceExtension] == extensionType)
170
else if (KnownTypes.
Types
[(int)KnownElements.StaticResourceExtension] == extensionType)
193
if (KnownTypes.
Types
[(int)KnownElements.TypeExtension] == extensionType)
508
if (KnownTypes.
Types
[(int)KnownElements.TypeExtension] == targetType)
515
else if (KnownTypes.
Types
[(int)KnownElements.StaticExtension] == targetType)
592
else if (!KnownTypes.
Types
[(int)KnownElements.MarkupExtension].IsAssignableFrom(targetType))
System\Windows\Markup\XamlTypeMapper.cs (14)
1286
Type dependencyObjectType = KnownTypes.
Types
[(int)KnownElements.DependencyObject];
1447
Type dependencyObjectType = KnownTypes.
Types
[(int)KnownElements.DependencyObject];
1816
if (KnownTypes.
Types
[(int)KnownElements.FrameworkElement].IsAssignableFrom(typeAndSerializer.ObjectType) ||
1817
KnownTypes.
Types
[(int)KnownElements.FrameworkContentElement].IsAssignableFrom(typeAndSerializer.ObjectType))
1819
typeAndSerializer.XmlLangProperty = (KnownTypes.
Types
[(int)KnownElements.FrameworkElement]).GetProperty("Language",
2664
if (objectType == KnownTypes.
Types
[(int)KnownElements.Brush])
2668
else if (objectType == KnownTypes.
Types
[(int)KnownElements.Geometry] ||
2669
objectType == KnownTypes.
Types
[(int)KnownElements.StreamGeometry])
2678
else if (objectType == KnownTypes.
Types
[(int)KnownElements.Point3DCollection])
2682
else if (objectType == KnownTypes.
Types
[(int)KnownElements.Vector3DCollection])
2686
else if (objectType == KnownTypes.
Types
[(int)KnownElements.PointCollection])
2690
else if (objectType == KnownTypes.
Types
[(int)KnownElements.Int32Collection])
2705
if (objectType == KnownTypes.
Types
[(int)KnownElements.Style])
2709
else if (KnownTypes.
Types
[(int)KnownElements.FrameworkTemplate].IsAssignableFrom(objectType))
System\Windows\SystemResourceKey.cs (3)
387
if ((KnownTypes.
Types
[(int)KnownElements.MenuItem] == targetType) ||
388
(KnownTypes.
Types
[(int)KnownElements.ToolBar] == targetType) ||
389
(KnownTypes.
Types
[(int)KnownElements.StatusBar] == targetType))