Dela via


ListView.header property

Gets or sets the HTML element that contains the header.

Syntax

<div 
  data-win-control="WinJS.UI.ListView" 
  data-win-options="{ header : value}">
</div>
var header = listView.header;
listView.header = header;

Property value

Type: HTMLElement

The HTML element that contains the header.

Requirements

Minimum WinJS version

WinJS 4.0

Namespace

WinJS.UI

See also

ListView