Export (0) Print
Expand All

NavigationService.Navigating Event

Occurs when a new navigation is requested.

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

public event NavigatingCancelEventHandler Navigating

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

Silverlight

Supported in: 5, 4, 3

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

Community Additions

Show:
© 2014 Microsoft