Handling Navigation Events

When navigation operations take place, you need to know what's happening so you can respond accordingly. The Frame control raises events that you can handle in the MainPage class (the class that hosts the Frame control), while within a view you can choose to either handle the events on the NavigationService object or simply override the navigation methods on the view itself (which are inherited from the Page class).

Frame Events

The Frame control provides the following events that enable you to respond to navigation operations and their current statuses:

  • Navigating
  • Navigated
  • NavigationStopped
  • NavigationFailed
  • FragmentNavigation

The Navigating event is raised before a navigation operation actually takes place, while ...

Get Pro Business Applications with Silverlight 5 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.