次の方法で共有


XRThickness (Windows Embedded CE 6.0)

1/6/2010

This structure contains information about the width of a frame that surrounds a rectangle.

Syntax

struct XRThickness{
  float Left;
  float Top;
  float Right;
  float Bottom;
};

Members

  • Left
    Indicates the width, in pixels, of the left side of the frame.
  • Top
    Indicates the width, in pixels, of the top side of the frame.
  • Right
    Indicates the width, in pixels, of the right side of the frame.
  • Bottom
    Indicates the width, in pixels, of the bottom side of the frame.

Remarks

You can use this structure to set the margins, padding or border thickness properties of controls and some other framework elements.

.NET Framework Equivalent

System.Windows.Thickness

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
IXRFrameworkElement
IXRBorder
IXRControl
IXRTextBlock