Freigeben über


ICoreWindow.VisibilityChanged Ereignis

Definition

Gibt das Ereignis an, das auftritt, wenn die Sichtbarkeit des Fensters geändert wird.

// 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
ICoreWindow::VisibilityChanged_revoker VisibilityChanged(auto_revoke_t, TypedEventHandler<CoreWindow, VisibilityChangedEventArgs const&> const& handler) const;
event TypedEventHandler<CoreWindow,VisibilityChangedEventArgs> VisibilityChanged;
function onVisibilityChanged(eventArgs) { /* Your code */ }
iCoreWindow.addEventListener("visibilitychanged", onVisibilityChanged);
iCoreWindow.removeEventListener("visibilitychanged", onVisibilityChanged);
- or -
iCoreWindow.onvisibilitychanged = onVisibilityChanged;
Event VisibilityChanged As TypedEventHandler(Of CoreWindow, VisibilityChangedEventArgs) 

Ereignistyp

Gilt für: