Delen via


SplashScreen.Dismissed Event

Definition

Fires when the app's splash screen is 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) 

Event Type

Remarks

When the dismissed event fires, the first view of your app is visible on the user's screen.

Avoid increasing the time required to load your app by using this event as a trigger to perform loading tasks (like loading network data) and animations.

Applies to

See also