6 overrides of GetXamlType
PresentationFramework (3)
System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (1)
52public override XamlType GetXamlType(Type type)
System\Windows\Markup\Baml2006\WpfSharedBamlSchemaContext.cs (1)
176public override XamlType GetXamlType(Type type)
System\Windows\Markup\XamlTypeMapperSchemaContext.cs (1)
93public 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)
618System.Xaml.XamlType xt = sc.GetXamlType(targetType);
System\Windows\Controls\ItemsPanelTemplate.cs (1)
115System.Xaml.XamlType panelType = templateHolder.SchemaContext.GetXamlType(typeof(Panel));
System\Windows\Markup\Baml2006\Baml2006Reader.cs (2)
1225_xamlNodesWriter.WriteValue(Logic_GetFullyQualifiedNameForType(SchemaContext.GetXamlType(record.KeyType))); 1261_xamlNodesWriter.WriteValue(Logic_GetFullyQualifiedNameForType(SchemaContext.GetXamlType(keyRecord.KeyType)));
System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (3)
54return _parentSchemaContext.GetXamlType(type); 548XamlType xType = _parentSchemaContext.GetXamlType(type); 606xamlType = _parentSchemaContext.GetXamlType(KnownTypes.GetKnownType(typeId));
System\Windows\Markup\Baml2006\WpfKnownType.cs (1)
339xTypes.Add(SchemaContext.GetXamlType(type));
System\Windows\Markup\Baml2006\WpfXamlMember.cs (2)
159return System.Windows.Markup.XamlReader.GetWpfSchemaContext().GetXamlType(DependencyProperty.PropertyType); 170return System.Windows.Markup.XamlReader.GetWpfSchemaContext().GetXamlType(RoutedEvent.HandlerType);
System\Windows\Markup\Baml2006\WpfXamlType.cs (2)
238wpfXamlType = System.Windows.Markup.XamlReader.GetWpfSchemaContext().GetXamlType(re.OwnerType) as WpfXamlType; 307wpfXamlType = System.Windows.Markup.XamlReader.GetWpfSchemaContext().GetXamlType(property.OwnerType) as WpfXamlType;
System\Windows\Markup\DependencyPropertyConverter.cs (5)
184XamlType styleXType = schemaContext.GetXamlType(typeof(Style)); 185XamlType frameworkTemplateXType = schemaContext.GetXamlType(typeof(FrameworkTemplate)); 186XamlType dataTemplateXType = schemaContext.GetXamlType(typeof(DataTemplate)); 187XamlType controlTemplateXType = schemaContext.GetXamlType(typeof(ControlTemplate)); 245XamlType frameworkTemplateXType = schemaContext.GetXamlType(typeof(FrameworkTemplate));
System\Windows\Markup\RoutedEventConverter.cs (1)
87XamlType styleXType = schemaContext.GetXamlType(typeof(Style));
System\Windows\Markup\SetterTriggerConditionValueConverter.cs (3)
106schemaContext.GetXamlType(property.OwnerType).GetMember(property.Name); 109schemaContext.GetXamlType(property.OwnerType).GetAttachableMember(property.Name); 133typeConverter = schemaContext.GetXamlType(property.PropertyType).TypeConverter;
System\Windows\Markup\WpfXamlLoader.cs (2)
289XamlType bindingBaseType = xamlType.SchemaContext.GetXamlType(typeof(BindingBase)); 290XamlType dynamicResourceType = xamlType.SchemaContext.GetXamlType(typeof(DynamicResourceExtension));
System\Windows\ResourceDictionary.cs (1)
1163XamlType xamlTypeStaticResourceExtension = reader.SchemaContext.GetXamlType(typeof(StaticResourceExtension));
System\Windows\StaticResourceExtension.cs (6)
213XamlType feXType = schemaContext.GetXamlType(typeof(FrameworkElement)); 214XamlType styleXType = schemaContext.GetXamlType(typeof(Style)); 215XamlType templateXType = schemaContext.GetXamlType(typeof(FrameworkTemplate)); 216XamlType appXType = schemaContext.GetXamlType(typeof(Application)); 217XamlType fceXType = schemaContext.GetXamlType(typeof(FrameworkContentElement)); 226XamlType[] types = new XamlType[1] { schemaContext.GetXamlType(typeof(ResourceDictionary)) };
PresentationFramework.Aero (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (1)
145System.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)
145System.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)
145System.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)
53System.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)
145System.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)
145System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(typeof(Microsoft.Windows.Themes.ScrollChrome)), // DeclaringType
System.Xaml (27)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (1)
1085XamlType result = SchemaContext.GetXamlType(clrType);
System\Xaml\Replacements\TypeTypeConverter.cs (1)
66XamlType xamlType = schemaContextProvider.SchemaContext.GetXamlType(type);
System\Xaml\Schema\TypeReflector.cs (1)
424XamlType ownerXamlType = xamlType.SchemaContext.GetXamlType(ownerType);
System\Xaml\Schema\XamlNamespace.cs (3)
87xamlType = SchemaContext.GetXamlType(type); 126return SchemaContext.GetXamlType(closedType); 227XamlType xamlType = SchemaContext.GetXamlType(t);
System\Xaml\Schema\XamlTypeInvoker.cs (2)
76itemType = _xamlType.SchemaContext.GetXamlType(item.GetType()); 110itemType = _xamlType.SchemaContext.GetXamlType(item.GetType());
System\Xaml\XamlLanguage.cs (1)
468XamlType 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)
2640XamlType result = schemaContext.GetXamlType(clrType);
System\Xaml\XamlSchemaContext.cs (1)
340result = GetXamlType(result.UnderlyingType);
System\Xaml\XamlType.cs (10)
758return SchemaContext.GetXamlType(underlyingType.BaseType); 832contentWrappers.Add(SchemaContext.GetXamlType(wrapperType)); 985return SchemaContext.GetXamlType(addParams[0].ParameterType); 1024return (result is not null) ? SchemaContext.GetXamlType(result) : null; 1035XamlType xamlReturnType = SchemaContext.GetXamlType(returnType); 1269XamlType innerXamlType = SchemaContext.GetXamlType(typeArgs[0]); 1311XamlType innerXamlType = SchemaContext.GetXamlType(typeArgs[0]); 1612result[i] = schemaContext.GetXamlType(types[i]); 1690XamlType typeOfType = SchemaContext.GetXamlType(typeof(Type)); 1705XamlType 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!));