Application.OnNavigating(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.
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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.