CellSpanningLayout.orientation property

Applies to Windows only

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 supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

WinJS.UI

Library

Ui.js

See also

CellSpanningLayout

 

 

Show:
© 2014 Microsoft