Поделиться через


IXRCustomControlFactory (Compact 2013)

3/28/2014

This C++ class provides methods for XAML for Windows Embedded to create instances of custom user controls which inherit from IXRUserControl in XAML for Windows Embedded.

Syntax

class  IXRCustomControlFactory : public IUnknown

Methods

Method

Description

IXRCustomControlFactory::CreateInstance

Creates an instance of the custom user control associated with a control cookie.

IXRCustomControlFactory::ResolveControlByIID

Resolves a custom user control by COM interface ID (IID).

IXRCustomControlFactory::ResolveControlByName

Resolves a custom user control by name in an XML namespace.

Thread Safety

Thread-safety depends on your custom method implementations.

.NET Framework Equivalent

None.

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

Classes for Application Management