Orientation enumeration (Preliminary)

Switch View :
ScriptFree
Orientation enumeration

[This documentation is preliminary and is subject to change.]

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

Syntax

C#

public enum Orientation

VB

Public Enumeration Orientation

C++

public enum class Orientation

XAML Attribute Usage

<object property="enumMemberName"/>

Attributes

VersionAttribute(NTDDI_WIN8)
WebHostHiddenAttribute()

Members

The Orientation enumeration has these members.

MemberValueDescription
Vertical0

The control or layout should be vertically oriented.

Horizontal1

The control or layout should be horizontally oriented.

Requirements

Minimum supported client

Windows 8 Consumer Preview

Minimum supported server

Windows Server 8 Beta

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

 

 

Build date: 3/8/2012