SplashScreen.Dismissed 事件

定義

關閉應用程式的啟動顯示畫面時引發。

// Register
event_token Dismissed(TypedEventHandler<SplashScreen, IInspectable const&> const& handler) const;

// Revoke with event_token
void Dismissed(event_token const* cookie) const;

// Revoke with event_revoker
SplashScreen::Dismissed_revoker Dismissed(auto_revoke_t, TypedEventHandler<SplashScreen, IInspectable const&> const& handler) const;
public event TypedEventHandler<SplashScreen,object> Dismissed;
function onDismissed(eventArgs) { /* Your code */ }
splashScreen.addEventListener("dismissed", onDismissed);
splashScreen.removeEventListener("dismissed", onDismissed);
- or -
splashScreen.ondismissed = onDismissed;
Public Custom Event Dismissed As TypedEventHandler(Of SplashScreen, Object) 

事件類型

備註

當關閉的事件引發時,應用程式的第一個檢視會顯示在使用者的畫面上。

請避免使用這個事件作為觸發程式來載入應用程式所需的時間, (例如載入網路資料) 和動畫。

適用於

另請參閱