Window.VisibilityChanged Window.VisibilityChanged Window.VisibilityChanged Window.VisibilityChanged Event

Definition

Occurs when the value of the Visible property changes.

public : event WindowVisibilityChangedEventHandler VisibilityChanged
// Register
event_token VisibilityChanged(WindowVisibilityChangedEventHandler const& handler) const;

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

// Revoke with event_revoker
VisibilityChanged_revoker VisibilityChanged(auto_revoke_t, WindowVisibilityChangedEventHandler const& handler) const;
public event WindowVisibilityChangedEventHandler VisibilityChanged
Public Event VisibilityChanged As WindowVisibilityChangedEventHandler

Remarks

VisibilityChangedEventArgs includes a Boolean Visible property that you should check to determine the current visibility state.