Metadata Provider Interface
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implements XAML type resolution and provides the mapping between types used in markup and the corresponding classes implemented in an application or component.
public interface class IXamlMetadataProvider
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)] /// [Windows.Foundation.Metadata.Guid(3010878825, 26789, 19250, 136, 97, 253, 185, 12, 31, 88, 54)] struct IXamlMetadataProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)] [Windows.Foundation.Metadata.Guid(3010878825, 26789, 19250, 136, 97, 253, 185, 12, 31, 88, 54)] public interface IXamlMetadataProvider
Public Interface IXamlMetadataProvider
Windows 10 (introduced in 10.0.10240.0)
Windows.Foundation.UniversalApiContract (introduced in v1.0)
The XAML compiler generates implementations of the interface within each component (application, library, or WinRT component) that uses XAML. In applications, the implementation is generated on the application object itself. For libraries and WinRT components, the implementation is generated on an anonymous class created by the XAML compiler. Each IXamlMetadataProvider implementation provides type information for the controls defined in the component it's generated in.
For more info on IXamlMetadataProvider, IXamlType and IXamlMember and how these are used for XAML custom types, see "Remarks" section of IXamlType.
Implements XAML schema context access to underlying type mapping, based on specifying a full type name.
Implements XAML schema context access to underlying type mapping, based on providing a helper value that describes a type.
Gets the set of XMLNS (XAML namespace) definitions that apply to the context.
Submit and view feedback for