Share via


WebView2.CoreWebView2Initialized Événement

Définition

Se produit lorsque l’objet WebView2 est initialisé.

Cette documentation s’applique à WinUI 2 pour UWP (pour WinUI dans le SDK d'application Windows, consultez les espaces de noms SDK d'application Windows).

// Register
event_token CoreWebView2Initialized(TypedEventHandler<WebView2, CoreWebView2InitializedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
WebView2::CoreWebView2Initialized_revoker CoreWebView2Initialized(auto_revoke_t, TypedEventHandler<WebView2, CoreWebView2InitializedEventArgs const&> const& handler) const;
public event TypedEventHandler<WebView2,CoreWebView2InitializedEventArgs> CoreWebView2Initialized;
Public Custom Event CoreWebView2Initialized As TypedEventHandler(Of WebView2, CoreWebView2InitializedEventArgs) 

Type d'événement

S’applique à