Freigeben über


NavigationService.FragmentNavigation Event

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Occurs when navigation to a content fragment begins.

Namespace:  System.Windows.Navigation
Assembly:  System.Windows.Controls.Navigation (in System.Windows.Controls.Navigation.dll)

Syntax

'Declaration
Public Event FragmentNavigation As FragmentNavigationEventHandler
public event FragmentNavigationEventHandler FragmentNavigation

Remarks

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.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.