header property
Collapse the table of content
Expand the table of content

ListView.header property

Applies to Windows and Windows Phone

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

 

 

Show:
© 2017 Microsoft