orientation property

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

WinJS 3.0

Namespace

WinJS.UI

See also

FlipView

 

 

Show:
© 2016 Microsoft