Share via


ILayout2.orientation property

Gets or sets the orientation of the layout.

Syntax

<div 
    data-win-control="WinJS.UI.ILayout2" 
    data-win-options="{ orientation : value}" >
</div>
var orientation = iLayout2.orientation;
iLayout2.orientation = orientation;

Property value

Type: ****

One of the values defined by the WinJS.UI.Orientation enumeration.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ILayout2

WinJS.UI.Orientation