InputActivationListener.InputActivationChanged 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.
Occurs when the window, view, or other visual element completes transition to a new activation state.
// Register
event_token InputActivationChanged(TypedEventHandler<InputActivationListener, InputActivationListenerActivationChangedEventArgs const&> const& handler) const;
// Revoke with event_token
void InputActivationChanged(event_token const* cookie) const;
// Revoke with event_revoker
InputActivationListener::InputActivationChanged_revoker InputActivationChanged(auto_revoke_t, TypedEventHandler<InputActivationListener, InputActivationListenerActivationChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<InputActivationListener,InputActivationListenerActivationChangedEventArgs> InputActivationChanged;
function onInputActivationChanged(eventArgs) { /* Your code */ }
inputActivationListener.addEventListener("inputactivationchanged", onInputActivationChanged);
inputActivationListener.removeEventListener("inputactivationchanged", onInputActivationChanged);
- or -
inputActivationListener.oninputactivationchanged = onInputActivationChanged;
Public Custom Event InputActivationChanged As TypedEventHandler(Of InputActivationListener, InputActivationListenerActivationChangedEventArgs)