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) 

事件类型

注解

触发已消除的事件时,用户屏幕上会显示应用的第一个视图。

通过将此事件用作触发器来执行加载任务(例如加载网络数据) 和动画) (,避免增加加载应用所需的时间。

适用于

另请参阅