Share via


CellSpanningLayout.orientation property

Gets or sets the orientation of the CellSpanningLayout. For a CellSpanningLayout, this property always returns Orientation.horizontal.

Syntax

<div 
    data-win-control="WinJS.UI.ListView" 
    data-win-options="{layout: {type: WinJS.UI.CellSpanningLayout, orientation: value}}>
</div>
var orientation = cellSpanningLayout.orientation;
cellSpanningLayout.orientation = orientation;

Property value

Type: WinJS.UI.Orientation**

The orientation of the CellSpanningLayout. The value of this property is always Orientation.horizontal.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

CellSpanningLayout