Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Page.OnNavigatingFrom(NavigatingCancelEventArgs) Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Invoked immediately before the Page is unloaded and is no longer the current source of a parent Frame.

protected:
 virtual void OnNavigatingFrom(NavigatingCancelEventArgs ^ e) = OnNavigatingFrom;
void OnNavigatingFrom(NavigatingCancelEventArgs const& e);
protected virtual void OnNavigatingFrom(NavigatingCancelEventArgs e);
function onNavigatingFrom(e)
Protected Overridable Sub OnNavigatingFrom (e As NavigatingCancelEventArgs)

Parameters

e
NavigatingCancelEventArgs

Event data that can be examined by overriding code. The event data is representative of the navigation that will unload the current Page unless canceled. The navigation can potentially be canceled by setting Cancel.

Applies to


Feedback

Was this page helpful?