共用方式為


Page.NavigatingFrom 事件

定義

在離開頁面之前引發。

public:
 event EventHandler<Microsoft::Maui::Controls::NavigatingFromEventArgs ^> ^ NavigatingFrom;
public event EventHandler<Microsoft.Maui.Controls.NavigatingFromEventArgs> NavigatingFrom;
member this.NavigatingFrom : EventHandler<Microsoft.Maui.Controls.NavigatingFromEventArgs> 
Public Event NavigatingFrom As EventHandler(Of NavigatingFromEventArgs) 

事件類型

適用於