CoreWindow.VisibilityChanged Evento

Definición

Se desencadena cuando se cambia la visibilidad de la ventana.

// 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 de evento

Implementaciones

Se aplica a