Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

GridLayout.maximumRowsOrColumns property

Applies to Windows and Windows Phone

Gets or set the maximum number of rows or columns, depending on the orientation, to display before content begins to wrap.

Syntax


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


var maximumRowsOrColumns = gridLayout.maximumRowsOrColumns;
gridLayout.maximumRowsOrColumns = maximumRowsOrColumns;

Property value

Type: Number

The maximum number of rows or columns, depending on the orientation, to display before content begins to wrap. A value of 0 indicates that there is no maximum. The default value is 0.

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

Windows Phone 8.1

Namespace

WinJS.UI

Library

Ui.js

See also

GridLayout

 

 

Show:
© 2014 Microsoft