VALUE_TYPE (XAML for Windows Embedded) (Compact 2013)
3/28/2014
This enumeration contains values that you can use to describe the type code for a value in XAML 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,
VTYPE_PROPERTYBAG = 15,
VTYPE_ENUMERABLE = 16,
};
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.
- VTYPE_OBJECT
Indicates an IXRDependencyObject derived object type.
- VTYPE_PROPERTYBAG
Indicates an IXRPropertyBag object type.
- VTYPE_ENUMERABLE
Indicates an IXREnumerable object type.
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 |
See Also
Reference
XAML for Windows Embedded Enumerations
XRValue
IXRApplication::RegisterAttachedProperty
IXRApplication::RegisterDependencyProperty