Handling Page Navigation
The PhoneApplicationPage
extends the System.Windows.Controls.Page
class, which has a number of virtual methods called when the page is brought into view or removed from view by the PhoneApplicationFrame
(see Figure 3.7).
The OnNavigatingFrom
method is called before a page is removed from view by the PhoneApplicationFrame
, and the OnNavigatedFrom
method is called after navigation occurs. Conversely, the OnNavigatedTo
method is called when the frame brings the page into view.
Get Windows® Phone 8 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.