Partager via


XRSize (Compact 2013)

3/28/2014

This structure contains information about the width and height of a user-interface UI.

Syntax

struct XRSize{
    float cx;
    float cy;
};

Members

  • cx
    Indicates the width of the UI element. This value cannot be negative.
  • cy
    Indicates the height of the UI element. This value cannot be negative.

Remarks

Generally, the values of an XRSize can be greater than or equal to zero. However, dimensions of zero might not be permitted for particular properties that take an XRSize. Check documentation for the specific property that you are setting for possible details on XRSize property constraints.

.NET Framework Equivalent

System.Windows.Size

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

XAML for Windows Embedded Structures