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

WinJS 3.0

Namespace

WinJS.UI

See also

GridLayout

 

 

Show: