Condividi tramite


CoreWindow.VisibilityChanged Evento

Definizione

Viene attivato quando viene modificata la visibilità della finestra.

// Register
event_token VisibilityChanged(TypedEventHandler<CoreWindow, VisibilityChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
CoreWindow::VisibilityChanged_revoker VisibilityChanged(auto_revoke_t, TypedEventHandler<CoreWindow, VisibilityChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<CoreWindow,VisibilityChangedEventArgs> VisibilityChanged;
function onVisibilityChanged(eventArgs) { /* Your code */ }
coreWindow.addEventListener("visibilitychanged", onVisibilityChanged);
coreWindow.removeEventListener("visibilitychanged", onVisibilityChanged);
- or -
coreWindow.onvisibilitychanged = onVisibilityChanged;
Public Custom Event VisibilityChanged As TypedEventHandler(Of CoreWindow, VisibilityChangedEventArgs) Implements VisibilityChanged

Tipo evento

Implementazioni

Si applica a