Compartilhar via


PFN_ENUMERABLE_PROPERTY_CREATE (Compact 2013)

3/28/2014

This callback function is defined by the application. XAML for Windows Embedded calls this function to create a container for an enumerable dependency property that is encountered in property metadata. The PFN_ENUMERABLE_PROPERTY_CREATE name is a placeholder for the function name that the application defines.

Syntax

typedef void  (CALLBACK* PFN_ENUMERABLE_PROPERTY_CREATE)(
    IXRValueCollection** ppCollection
);

Parameters

  • ppCollection
    [out] Pointer to a pointer to an IXRValueCollection object that represents the new container for the enumerable property.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

This callback function is a member of the XRDependencyPropertyMetaData structure. To fill this member, you must first implement a callback function that matches the function signature provided in the syntax section and then pass the name of your callback function into XRDependencyPropertyMetaData. When you create a user-defined control, you can pass the XRDependencyPropertyMetaData structure in a call to IXRApplication::RegisterDependencyProperty or IXRApplication::RegisterAttachedProperty in order to provide metadata for the dependency or attached property.

.NET Framework Equivalent

None.

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

XAML for Windows Embedded Functions
IXREnumerator
IXREnumerable