Share via


GridLayout.horizontal property

This property is no longer supported. Starting with the Windows Library for JavaScript 2.0, use the orientation property instead. Gets a value that indicates whether items are laid out horizontally.

Syntax

var horizontal = gridLayout.horizontal;

Property value

Type: Boolean

true if the layout is horizontal or false if the layout is vertical. For a GridLayout, this property always returns true.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

GridLayout