Partager via


XRVerticalAlignment (Windows Embedded CE 6.0)

1/6/2010

This structure contains members that describe how a child element is vertically positioned inside a parent's layout slot.

Syntax

enum XRVerticalAlignment{
    XRVerticalAlignment_Top=0,
    XRVerticalAlignment_Center=1,
    XRVerticalAlignment_Bottom=2,
    XRVerticalAlignment_Stretch=3
};

Members

  • XRVerticalAlignment_Top
    Specifies that the child element is aligned to the top of the parent's element slot.
  • XRVerticalAlignment_Center
    Specifies that the child element is aligned at the center of the parent's element slot.
  • XRVerticalAlignment_Bottom
    Specifies that the child element is aligned to the bottom of the parent's element slot.
  • XRVerticalAlignment_Stretch
    Specifies that the element is stretched to fill the complete layout slot of the parent's element.

Remarks

Height and Width properties that are explicitly set on an element take precedence over the XRVerticalAlignment_Stretch property value.

.NET Framework Equivalent

System.Windows.VerticalAlignment

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