FlipView.orientation property

Applies to Windows and Windows Phone

Gets or sets the orientation of the FlipView, horizontal or vertical.

Syntax


<div data-win-control="WinJS.UI.FlipView" data-win-options="{ orientation : value}" ></div>


var orientation = flipView.orientation;
flipView.orientation = orientation;

Property value

Type: String

A string that specifies the FlipView object's layout. It accepts these values:

ValueCondition
"horizontal"

A horizontal layout. This is the default value.

"vertical"

A vertical layout.

 

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

Library

Winjs.js

See also

FlipView

 

 

Show:
© 2015 Microsoft