Freigeben über


WebUIApplication.NewWebUIViewCreated Ereignis

Definition

Tritt auf, wenn das System eine neue Ansicht für die App erstellt.

// 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) 

Ereignistyp

Windows-Anforderungen

Gerätefamilie
Windows 10, version 1809 (eingeführt in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v7.0)

Gilt für: