Expand Minimize

WinJS.UI.Orientation enumeration

Applies to Windows and Windows Phone

Specifies the orientation of a control.

Syntax


var WinJS.UI.Orientation = {
  horizontal : "horizontal", 
  vertical : "vertical"
}

Members

The Orientation enumeration has these members.

MemberValueDescription
horizontal"horizontal"

A horizontal layout.

vertical"vertical"

A vertical layout.

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

Library

Base.js

 

 

Show:
© 2014 Microsoft