共用方式為


IWindow.Backgrounding(IPersistedState) 方法

定義

當視窗進入背景狀態時發生。

public:
 void Backgrounding(Microsoft::Maui::IPersistedState ^ state);
public void Backgrounding (Microsoft.Maui.IPersistedState state);
abstract member Backgrounding : Microsoft.Maui.IPersistedState -> unit
Public Sub Backgrounding (state As IPersistedState)

參數

適用於