Delen via


Page.OnNavigatingFrom(NavigatingCancelEventArgs) Method

Definition

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