次の方法で共有


XRHorizontalAlignment (Windows Embedded CE 6.0)

1/6/2010

This enumeration contains values that indicate where an element should be displayed on the horizontal axis in relation to the allocated layout slot of the parent element.

Syntax

enum XRHorizontalAlignment{
    XRHorizontalAlignment_Left=0,
    XRHorizontalAlignment_Center=1,
    XRHorizontalAlignment_Right=2,
    XRHorizontalAlignment_Stretch=3
};

Members

  • XRHorizontalAlignment_Left
    Specifies that the element is aligned to the left side of the layout slot for the parent element.
  • XRHorizontalAlignment_Center
    Specifies that the element is aligned at the center of the layout slot for the parent element.
  • XRHorizontalAlignment_Right
    Specifies that the element is aligned to the right side of the layout slot for the parent element.
  • XRHorizontalAlignment_Stretch
    Specifies that the element is stretched to fill the complete layout slot of the parent element.

Remarks

XRHorizontalAlignment_Stretch is the default layout behavior.

.NET Framework Equivalent

System.Windows.HorizontalAlignment

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

Silverlight for Windows Embedded Enumerations