ListLayout.orientation property
Gets or sets the orientation of the ListLayout.
Syntax
<div
data-win-control="WinJS.UI.ListView"
data-win-options="{layout: {type: WinJS.UI.ListLayout, orientation: value}}>
</div>
var orientation = listLayout.orientation;
listLayout.orientation = orientation;
Property value
Type: WinJS.UI.Orientation**
One of the values defined by the WinJS.UI.Orientation enumeration. The default value is Orientation.vertical.
Requirements
Minimum WinJS version |
WinJS 3.0 |
Namespace |
WinJS.UI |