O'Reilly logo

XAML Unleashed by Adam Nathan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hub

The Hub control makes it easy for you to follow the popular hub design pattern used by MSN apps such as News, Sports, Finance, and Travel. Such apps have a horizontally scrolling landing page with many independent sections. The first section typically has a big image (called a hero image) as its background, and the subsequent sections are typically diverse content with links to other pages.

Hub has a Header that can be arbitrary content, although it is typically set to a simple string matching the app’s name and a collection of HubSection controls (each with its own Header) that are stacked horizontally by default. Figure 14.6 shows the following Hub in action:

<Page ...>  <Hub Header="Other Controls">    

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required