6 overrides of GetXamlType
PresentationFramework (3)
System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (1)
51
public override XamlType
GetXamlType
(Type type)
System\Windows\Markup\Baml2006\WpfSharedBamlSchemaContext.cs (1)
175
public override XamlType
GetXamlType
(Type type)
System\Windows\Markup\XamlTypeMapperSchemaContext.cs (1)
92
public override XamlType
GetXamlType
(Type type)
System.Xaml.Tests (3)
System\Xaml\Replacements\TypeTypeConverterTests.cs (1)
348
public override XamlType
GetXamlType
(Type type)
System\Xaml\XamlSchemaContextTests.cs (1)
1028
public override XamlType
GetXamlType
(Type type)
System\Xaml\XamlTypeTests.cs (1)
5292
public override XamlType
GetXamlType
(Type type)
60 references to GetXamlType
PresentationFramework (30)
MS\Internal\Helper.cs (1)
617
System.Xaml.XamlType xt = sc.
GetXamlType
(targetType);
System\Windows\Controls\ItemsPanelTemplate.cs (1)
114
System.Xaml.XamlType panelType = templateHolder.SchemaContext.
GetXamlType
(typeof(Panel));
System\Windows\Markup\Baml2006\Baml2006Reader.cs (2)
1221
_xamlNodesWriter.WriteValue(Logic_GetFullyQualifiedNameForType(SchemaContext.
GetXamlType
(record.KeyType)));
1257
_xamlNodesWriter.WriteValue(Logic_GetFullyQualifiedNameForType(SchemaContext.
GetXamlType
(keyRecord.KeyType)));
System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (3)
53
return _parentSchemaContext.
GetXamlType
(type);
547
XamlType xType = _parentSchemaContext.
GetXamlType
(type);
605
xamlType = _parentSchemaContext.
GetXamlType
(KnownTypes.GetKnownType(typeId));
System\Windows\Markup\Baml2006\WpfKnownType.cs (1)
338
xTypes.Add(SchemaContext.
GetXamlType
(type));
System\Windows\Markup\Baml2006\WpfXamlMember.cs (2)
158
return System.Windows.Markup.XamlReader.GetWpfSchemaContext().
GetXamlType
(DependencyProperty.PropertyType);
169
return System.Windows.Markup.XamlReader.GetWpfSchemaContext().
GetXamlType
(RoutedEvent.HandlerType);
System\Windows\Markup\Baml2006\WpfXamlType.cs (2)
237
wpfXamlType = System.Windows.Markup.XamlReader.GetWpfSchemaContext().
GetXamlType
(re.OwnerType) as WpfXamlType;
306
wpfXamlType = System.Windows.Markup.XamlReader.GetWpfSchemaContext().
GetXamlType
(property.OwnerType) as WpfXamlType;
System\Windows\Markup\DependencyPropertyConverter.cs (5)
183
XamlType styleXType = schemaContext.
GetXamlType
(typeof(Style));
184
XamlType frameworkTemplateXType = schemaContext.
GetXamlType
(typeof(FrameworkTemplate));
185
XamlType dataTemplateXType = schemaContext.
GetXamlType
(typeof(DataTemplate));
186
XamlType controlTemplateXType = schemaContext.
GetXamlType
(typeof(ControlTemplate));
244
XamlType frameworkTemplateXType = schemaContext.
GetXamlType
(typeof(FrameworkTemplate));
System\Windows\Markup\RoutedEventConverter.cs (1)
86
XamlType styleXType = schemaContext.
GetXamlType
(typeof(Style));
System\Windows\Markup\SetterTriggerConditionValueConverter.cs (3)
105
schemaContext.
GetXamlType
(property.OwnerType).GetMember(property.Name);
108
schemaContext.
GetXamlType
(property.OwnerType).GetAttachableMember(property.Name);
132
typeConverter = schemaContext.
GetXamlType
(property.PropertyType).TypeConverter;
System\Windows\Markup\WpfXamlLoader.cs (2)
288
XamlType bindingBaseType = xamlType.SchemaContext.
GetXamlType
(typeof(BindingBase));
289
XamlType dynamicResourceType = xamlType.SchemaContext.
GetXamlType
(typeof(DynamicResourceExtension));
System\Windows\ResourceDictionary.cs (1)
1219
XamlType xamlTypeStaticResourceExtension = reader.SchemaContext.
GetXamlType
(typeof(StaticResourceExtension));
System\Windows\StaticResourceExtension.cs (6)
212
XamlType feXType = schemaContext.
GetXamlType
(typeof(FrameworkElement));
213
XamlType styleXType = schemaContext.
GetXamlType
(typeof(Style));
214
XamlType templateXType = schemaContext.
GetXamlType
(typeof(FrameworkTemplate));
215
XamlType appXType = schemaContext.
GetXamlType
(typeof(Application));
216
XamlType fceXType = schemaContext.
GetXamlType
(typeof(FrameworkContentElement));
225
XamlType[] types = new XamlType[1] { schemaContext.
GetXamlType
(typeof(ResourceDictionary)) };
System.Xaml (27)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (1)
1084
XamlType result = SchemaContext.
GetXamlType
(clrType);
System\Xaml\Replacements\TypeTypeConverter.cs (1)
65
XamlType xamlType = schemaContextProvider.SchemaContext.
GetXamlType
(type);
System\Xaml\Schema\TypeReflector.cs (1)
423
XamlType ownerXamlType = xamlType.SchemaContext.
GetXamlType
(ownerType);
System\Xaml\Schema\XamlNamespace.cs (3)
88
xamlType = SchemaContext.
GetXamlType
(type);
126
return SchemaContext.
GetXamlType
(closedType);
227
XamlType xamlType = SchemaContext.
GetXamlType
(t);
System\Xaml\Schema\XamlTypeInvoker.cs (2)
75
itemType = _xamlType.SchemaContext.
GetXamlType
(item.GetType());
109
itemType = _xamlType.SchemaContext.
GetXamlType
(item.GetType());
System\Xaml\XamlLanguage.cs (1)
467
XamlType result = s_schemaContext.Value.
GetXamlType
(type);
System\Xaml\XamlMember.cs (6)
57
_declaringType = schemaContext.
GetXamlType
(propertyInfo.DeclaringType);
80
_declaringType = schemaContext.
GetXamlType
(eventInfo.DeclaringType);
115
_declaringType = schemaContext.
GetXamlType
(accessor.DeclaringType);
142
_declaringType = schemaContext.
GetXamlType
(adder.DeclaringType);
688
return SchemaContext.
GetXamlType
(result);
760
return (systemType is not null) ? SchemaContext.
GetXamlType
(systemType) : null;
System\Xaml\XamlObjectReader.cs (1)
2639
XamlType result = schemaContext.
GetXamlType
(clrType);
System\Xaml\XamlSchemaContext.cs (1)
339
result =
GetXamlType
(result.UnderlyingType);
System\Xaml\XamlType.cs (10)
757
return SchemaContext.
GetXamlType
(underlyingType.BaseType);
831
contentWrappers.Add(SchemaContext.
GetXamlType
(wrapperType));
984
return SchemaContext.
GetXamlType
(addParams[0].ParameterType);
1023
return (result is not null) ? SchemaContext.
GetXamlType
(result) : null;
1034
XamlType xamlReturnType = SchemaContext.
GetXamlType
(returnType);
1268
XamlType innerXamlType = SchemaContext.
GetXamlType
(typeArgs[0]);
1310
XamlType innerXamlType = SchemaContext.
GetXamlType
(typeArgs[0]);
1611
result[i] = schemaContext.
GetXamlType
(types[i]);
1688
XamlType typeOfType = SchemaContext.
GetXamlType
(typeof(Type));
1703
XamlType xamlType = SchemaContext.
GetXamlType
(type);
System.Xaml.Tests (3)
System\Xaml\XamlSchemaContextTests.cs (3)
997
XamlType type = context.
GetXamlType
(underlyingType);
999
Assert.Same(type, context.
GetXamlType
(underlyingType));
1008
Assert.Throws<ArgumentNullException>("type", () => context.
GetXamlType
((Type)null!));