SplashScreen.Dismissed Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
TypedEventHandler<SplashScreen,IInspectable>
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
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro