Share via


VALUE_TYPE (Silverlight for Windows Embedded) (Windows Embedded CE 6.0)

1/6/2010

This enumeration contains several different values that can be used to describe the type code for a value in Silverlight for Windows Embedded.

Syntax

enum VALUE_TYPE
{
        VTYPE_NONE = 0,
        VTYPE_FLOAT = 1,
        VTYPE_INT = 2,
        VTYPE_BOOL = 3,
        VTYPE_UINT = 4,
        VTYPE_COLOR = 5,
        VTYPE_READONLY_STRING = 6,
    VTYPE_BSTR = 7
        VTYPE_POINT = 8,
        VTYPE_RECT = 9,
        VTYPE_THICKNESS = 10,
        VTYPE_SIZE = 11,
        VTYPE_GRIDLENGTH = 12,
        VTYPE_CORNER_RADIUS = 13,
        VTYPE_OBJECT = 14
};

Members

  • VTYPE_NONE
    Indicates an unassigned type.
  • VTYPE_FLOAT
    Indicates a float value type.
  • VTYPE_INT
    Indicates a 32-bit signed integer value type.
  • VTYPE_BOOL
    Indicates a Boolean value type.
  • VTYPE_UINT
    Indicates a 32-bit integer enumeration type.
  • VTYPE_COLOR
    Indicates an RGB COLORREF value type.
  • VTYPE_READONLY_STRING
    Indicates a length-specified read-only Unicode string type.
  • VTYPE_BSTR
    Indicates a BSTR string type.
  • VTYPE_POINT
    Indicates an XRPoint structure type that contains a pair of float values.
  • VTYPE_RECT
    Indicates an XRRect structure type that contains left, top, right, and bottom values.
  • VTYPE_THICKNESS
    Indicates an XRThickness structure type that contains left, top, right, and bottom values.
  • VTYPE_SIZE
    Indicates an XRSize structure type that contains a pair of float values.
  • VTYPE_GRIDLENGTH
    Indicates an XRGridLength structure type that specifies row and column dimensions.
  • VTYPE_CORNER_RADIUS
    Indicates an XRCornerRadius structure type that describes the radius of the rectangle's corners.

Remarks

The enumerated types in VALUE_TYPE provide different value types for a dependency property or attached property.

For implementing a custom method, use VTYPE_READONLY_STRING for all read-only [in] parameters, and use VTYPE_BSTR for [out] or [in, out] parameters where transfer of ownership occurs.

.NET Framework Equivalent

None.

Requirements

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

See Also

Reference

Silverlight for Windows Embedded Enumerations
XRValue
IXRApplication::RegisterAttachedProperty
IXRApplication::RegisterDependencyProperty