OverlayApp.VisualStateChanged Event
Definition
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.
// Register
event_token VisualStateChanged(EventHandler<IInspectable> const& handler) const;
// Revoke with event_token
void VisualStateChanged(event_token const* cookie) const;
// Revoke with event_revoker
OverlayApp::VisualStateChanged_revoker VisualStateChanged(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
public event System.EventHandler<object> VisualStateChanged;
function onVisualStateChanged(eventArgs) { /* Your code */ }
overlayApp.addEventListener("visualstatechanged", onVisualStateChanged);
overlayApp.removeEventListener("visualstatechanged", onVisualStateChanged);
- or -
overlayApp.onvisualstatechanged = onVisualStateChanged;
Public Custom Event VisualStateChanged As EventHandler(Of Object)