GridLayout.groupHeaderPosition property

Applies to Windows and Windows Phone

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 supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

Library

Ui.js

See also

GridLayout

 

 

Show:
© 2014 Microsoft