Export (0) Print
Expand All

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)

'Declaration
Public Interface IXamlTypeResolver

The IXamlTypeResolver type exposes the following members.

  NameDescription
Public methodResolveResolves a named XAML type to the corresponding CLR Type.
Top

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

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft