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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.