Freigeben über


XROrientation (Compact 2013)

3/28/2014

This enumeration defines the different layout orientations of an IXRUIElement object.

Syntax

enum XROrientation{
    XROrientation_Vertical=0,
    XROrientation_Horizontal=1,
};

Members

  • XROrientation_Vertical
    The UI element is vertically oriented.
  • XROrientation_Horizontal
    The UI element is horizontally oriented.

Remarks

The orientation determines whether an object will arrange itself in the horizontal or vertical direction and can be set on a IXRScrollBar, IXRSlider, orIXRStackPanel object.

.NET Framework Equivalent

System.Windows.Controls.Orientation

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

XAML for Windows Embedded Enumerations
IXRScrollBar::GetOrientation
IXRScrollBar::SetOrientation
IXRSlider::GetOrientation
IXRSlider::SetOrientation
IXRStackPanel::GetOrientation
IXRStackPanel::SetOrientation