Condividi tramite


ListLayout.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 or vertically.

Syntax

var horizontal = listLayout.horizontal;

Property value

Type: Boolean

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

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ListLayout