Share via


XRDependencyPropertyMetaData (Windows Embedded CE 6.0)

1/6/2010

This structure contains information that reports or applies metadata for a dependency property or an attached property.

Syntax

struct XRDependencyPropertyMetaData
{
    DWORD Size;
    PFN_PROPERTY_CHANGE pfnPropertyChangeNotification;
    PFN_TYPE_CONVERTER pfnTypeConverter;
    XRValue DefaultValue;
};

Members

  • Size
    Total size, in bytes, allocated to this data structure.
  • pfnPropertyChangeNotification
    Name of the PFN_PROPERTY_CHANGE callback method that Silverlight for Windows Embedded invokes when the value of the associated property changes.
  • pfnTypeConverter
    Name of the PFN_TYPE_CONVERTER callback method that provides a type-converter implementation for classes that Silverlight converts from XAML to C++ while parsing the source XAML.
  • DefaultValue
    XRValue object that indicates the default value of the property if Silverlight cannot determine the value from the local value, style, inheritance, and so on.

Remarks

When you create a user-defined control, you can pass this structure in a call to IXRApplication::RegisterDependencyProperty or IXRApplication::RegisterAttachedProperty in order to provide metadata for the dependency or attached property.

.NET Framework Equivalent

System.Windows.PropertyMetadata

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

Silverlight for Windows Embedded Structures