Orientation enumeration
TOC
Collapse the table of content
Expand the table of content

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 WinJS version

WinJS 3.0

Namespace

WinJS.UI

 

 

Show:
© 2017 Microsoft