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