Expand Minimize

Orientation Enumeration

July 28, 2014

Defines the different orientations that a control or layout can have.

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

'Declaration
Public Enumeration Orientation
<object property="enumMemberName"/>

Member nameDescription
VerticalThe control or layout should be vertically oriented.
HorizontalThe control or layout should be horizontally oriented.

The Orientation determines if an object will arrange itself in the horizontal or vertical direction and can be set on a Slider, StackPanel, or ScrollBar object.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft