Page.OnNavigatingFrom(NavigatingCancelEventArgs) Page.OnNavigatingFrom(NavigatingCancelEventArgs) Page.OnNavigatingFrom(NavigatingCancelEventArgs) 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)
virtual void OnNavigatingFrom(NavigatingCancelEventArgs e) const;
protected virtual void OnNavigatingFrom(NavigatingCancelEventArgs e)
Protected Overridable Sub OnNavigatingFrom(e As NavigatingCancelEventArgs)

Parameters

e
NavigatingCancelEventArgs 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.