Page.OnNavigatingFrom(NavigatingFromEventArgs) Method

Definition

When overridden in a derived class, allows application developers to customize behavior immediately prior to the page being navigated away from.

protected:
 virtual void OnNavigatingFrom(Microsoft::Maui::Controls::NavigatingFromEventArgs ^ args);
protected virtual void OnNavigatingFrom (Microsoft.Maui.Controls.NavigatingFromEventArgs args);
abstract member OnNavigatingFrom : Microsoft.Maui.Controls.NavigatingFromEventArgs -> unit
override this.OnNavigatingFrom : Microsoft.Maui.Controls.NavigatingFromEventArgs -> unit
Protected Overridable Sub OnNavigatingFrom (args As NavigatingFromEventArgs)

Parameters

args
NavigatingFromEventArgs

The event arguments.

Applies to