Understanding the PageControlNavigator Control

The PageControlNavigator control is included with the Navigation App, Grid App, Split App, and Hub App Visual Studio project templates—but it is not included with the Blank App template.

The PageControlNavigator control handles the navigated event and takes care of loading the right Page control in response to this event. For example, if you call WinJS.Navigation.navigate("/pages/somePage/somePage.html") then the PageControlNavigator control loads the somePage.html Page control into the default.html page.

Get Windows® 8.1 Apps with HTML5 and JavaScript Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.