次の方法で共有


XRSize (Windows Embedded CE 6.0)

1/6/2010

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

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
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

Silverlight for Windows Embedded Structures