Compartir a través de


IXamlTypeResolver Interface

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

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

Syntax

'Declaration
Public Interface IXamlTypeResolver
public interface IXamlTypeResolver

The IXamlTypeResolver type exposes the following members.

Methods

  Name Description
Public method Resolve Resolves a named XAML type to the corresponding CLR Type.

Top

Remarks

The IXamlTypeResolver service 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.

Using this service effectively might require that you understand the concepts of the XAML type system. These concepts are not documented in the Silverlight documentation, and are instead documented in a section of documentation for .NET Framework XAML Services. This is because the XAML type system is supported by APIs in Microsoft .NET Framework such that developers can write programs to examine and process XAML independently of specific frameworks such as Silverlight. For more information, see XAML Services.

Version Information

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference