Application.OnNavigating(NavigatingCancelEventArgs) Method

Definition

Raises the Navigating event.

protected:
 virtual void OnNavigating(System::Windows::Navigation::NavigatingCancelEventArgs ^ e);
protected virtual void OnNavigating (System.Windows.Navigation.NavigatingCancelEventArgs e);
abstract member OnNavigating : System.Windows.Navigation.NavigatingCancelEventArgs -> unit
override this.OnNavigating : System.Windows.Navigation.NavigatingCancelEventArgs -> unit
Protected Overridable Sub OnNavigating (e As NavigatingCancelEventArgs)

Parameters

e
NavigatingCancelEventArgs

A NavigatingCancelEventArgs that contains the event data.

Remarks

OnNavigating raises the Navigating event.

A type that derives from Application may override OnNavigating. The overridden method must call OnNavigating in the base class if Navigating needs to be raised.

Applies to

See also