共用方式為


Page.OnNavigatedFrom(NavigatedFromEventArgs) 方法

定義

在衍生類別中覆寫時,可讓應用程式開發人員在頁面離開后立即自定義行為。

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

參數

args
NavigatedFromEventArgs

事件引數。

適用於