Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
CoreWindow.VisibilityChanged Event
Definition
- Namespace:
- Windows.UI.Core
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Is fired when the window visibility is changed.
// 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
Event Type
Implements
Applies to
Feedback
Was this page helpful?
