다음을 통해 공유


GridLayout.groupHeaderPosition property

Gets or sets the position of group headers.

Syntax

var groupHeaderPosition = gridLayout.groupHeaderPosition;
gridLayout.groupHeaderPosition = groupHeaderPosition;

Property value

Type: WinJS.UI.HeaderPosition**

A WinJS.UI.HeaderPosition value that specifies the position of the group header relative to the items in the group. The default value is WinJS.UI.HeaderPosition.top. This property can only be set once. To switch to a different groupHeaderPosition, you must create a new GridLayout object.

WinJS.UI.HeaderPosition.left**

Headers appear to the left of their items.

WinJS.UI.HeaderPosition.top**

Headers appear above their items. This is the default value.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

GridLayout