Loading User Controls
The basic idea of do-it-yourself navigation is to programmatically change the content that's shown in the Silverlight page, usually by manipulating layout containers or content controls. Of course, you don't want to be forced to create and configure huge batches of controls in code—that task is easier to complete using XAML. Instead, you need a way to create and load distinct user controls, each of which represents a page, and each of which is prepared at design time as a separate XAML file.
In the following sections, you'll see two related variations of this technique. First, you'll see an example that loads user controls into an existing page. This approach is best suited to user interfaces that need to keep some common ...
Get Pro Silverlight 5 in VB 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.