IXamlTypeResolver Interface
TOC
Collapse the table of content
Expand the table of content

IXamlTypeResolver Interface

 

Represents a service that resolves from named elements in XAML markup to the appropriate CLR type.

Namespace:   System.Windows.Markup
Assembly:  System.Xaml (in System.Xaml.dll)

type IXamlTypeResolver = interface end

NameDescription
System_CAPS_pubmethodResolve(String)

Resolves a named XAML type to the corresponding CLR Type.

The IXamlTypeResolver class is used primarily by TypeConverter and MarkupExtension authors as a service to determine the XAML-to-CLR type mapping that is necessary for constructing a CLR object.

Type converters and markup extensions can query for IXamlTypeResolver as a service on the service context that is provided by a XAML object writer, when the XAML object writer invokes value conversion behavior. For more information, see Type Converters and Markup Extensions for XAML and Service Contexts Available to Type Converters and Markup Extensions.

In previous versions of the .NET Framework, this interface existed in the WPF-specific assembly WindowsBase. In .NET Framework 4, IXamlTypeResolver is in the System.Xaml assembly. For more information, see Types Migrated from WPF to System.Xaml.

.NET Framework
Available since 3.0
Silverlight
Available since 5.0
Return to top
Show:
© 2016 Microsoft