isHeaderStatic property
Collapse the table of content
Expand the table of content

HubSection.isHeaderStatic property

Applies to Windows and Windows Phone

Gets a value that specifies whether the header is static.

Syntax


<div 
    data-win-control="WinJS.UI.HubSection" 
    data-win-options="{ isHeaderStatic : value}" >
</div>


var isHeaderStatic = hubSection.isHeaderStatic;
hubSection.isHeaderStatic = isHeaderStatic;

Property value

Type:

true if the header is static; otherwise, false. A static header doesn't respond to clicks or other interactions.

Remarks

If the header is a link to a more detailed view of the section. set this property to false.

Requirements

Minimum WinJS version

WinJS 2.0

Namespace

WinJS.UI

See also

HubSection
Hub
AppBar
NavBar
BackButton
Your first app - Part 3: PageControl objects and navigation
Quickstart: Using a hub control for layout and navigation
Navigating between pages (HTML)
Adding app bars
Adding nav bars
HTML Hub control sample
HTML AppBar control sample
HTML NavBar control sample
Navigation and navigation history sample
Designers
Command patterns
Navigation patterns
Hub
Guidelines for the hub control

 

 

Show:
© 2017 Microsoft