XAML for Windows Embedded Functions (Compact 2013)

3/28/2014

This section describes the functions available in XAML for Windows Embedded, a native (C++) UI development framework for Windows Embedded Compact-powered devices that is based on Microsoft Silverlight 3.

Function

Description

_xr_propertybag_error(const char *,HRESULT,const char *)

Prints an error message in the Platform Builder Output window.

CreateCustomEvent<ArgType,SenderType>

Creates an event that signals a change in a custom property value.

CreateDelegate

Creates a delegate for an event.

FreeXRValue

Frees the memory of an XRValue object and clears all references to the object.

GetXRApplicationInstance

Obtains a reference to a per-process singleton that is the application object for XAML for Windows Embedded.

PFN_CREATE_CONTROL

Defines a callback function that resolves a reference to an unknown XAML element name by creating a control.

PFN_CREATE_XAMLOBJECT

Defines a callback function that resolves a reference to an unknown XAML element name by creating a XAML object.

PFN_ENUMERABLE_PROPERTY_CREATE

Defines a callback function that creates a container for an enumerable dependency property that is encountered in property metadata.

PFN_PROPERTY_CHANGE

Defines a callback function that the application calls when the value of a dependency property or of an attached property changes.

PFN_TYPE_CONVERTER

Defines a callback function that the application calls when XAML for Windows Embedded converts types from a source XAML file into C++ types for XAML for Windows Embedded run-time application.

XamlRuntimeInitialize

Initializes the XAML for Windows Embedded system.

XamlRuntimeUninitialize

Removes all references to the application singleton.

XR_HOOKPROC

Defines the signature of a callback function that the application defines, which you can use to monitor or process any windows message that the graphics, windowing, and events subsystem (GWES) sends to the foundation window for the visual host.

See Also

Reference

XAML for Windows Embedded Reference