WebUIApplication.NewWebUIViewCreated Evento

Definizione

Si verifica quando il sistema crea una nuova visualizzazione per l'app.

// Register
static event_token NewWebUIViewCreated(EventHandler<NewWebUIViewCreatedEventArgs> const& handler) const;

// Revoke with event_token
static void NewWebUIViewCreated(event_token const* cookie) const;

// Revoke with event_revoker
static WebUIApplication::NewWebUIViewCreated_revoker NewWebUIViewCreated(auto_revoke_t, EventHandler<NewWebUIViewCreatedEventArgs> const& handler) const;
public static event System.EventHandler<NewWebUIViewCreatedEventArgs> NewWebUIViewCreated;
function onNewWebUIViewCreated(eventArgs) { /* Your code */ }
Windows.UI.WebUI.WebUIApplication.addEventListener("newwebuiviewcreated", onNewWebUIViewCreated);
Windows.UI.WebUI.WebUIApplication.removeEventListener("newwebuiviewcreated", onNewWebUIViewCreated);
- or -
Windows.UI.WebUI.WebUIApplication.onnewwebuiviewcreated = onNewWebUIViewCreated;
Public Shared Custom Event NewWebUIViewCreated As EventHandler(Of NewWebUIViewCreatedEventArgs) 

Tipo evento

Requisiti Windows

Famiglia di dispositivi
Windows 10, version 1809 (è stato introdotto in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v7.0)

Si applica a