FragmentNavigation Event
Collapse the table of content
Expand the table of content

NavigationService.FragmentNavigation Event

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Occurs when navigation to a content fragment begins.

Namespace:  System.Windows.Navigation
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

'Declaration
Public Event FragmentNavigation As FragmentNavigationEventHandler

Typically, you use the OnFragmentNavigation method instead of creating an event handler for the FragmentNavigation event. Using the OnFragmentNavigation method is preferable because you do not have to remove the event handler from the NavigationService object to avoid object lifetime issues.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft