次の方法で共有


XRThickness (Compact 2013)

3/28/2014

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

See Also

Reference

XAML for Windows Embedded Structures
IXRFrameworkElement
IXRBorder
IXRControl
IXRTextBlock