CoreIndependentInputSource.InputEnabled Evento

Definizione

Si verifica quando l'input è abilitato o disabilitato per l'app UWP.

// Register
event_token InputEnabled(TypedEventHandler<IInspectable, InputEnabledEventArgs const&> const& handler) const;

// Revoke with event_token
void InputEnabled(event_token const* cookie) const;

// Revoke with event_revoker
CoreIndependentInputSource::InputEnabled_revoker InputEnabled(auto_revoke_t, TypedEventHandler<IInspectable, InputEnabledEventArgs const&> const& handler) const;
public event TypedEventHandler<object,InputEnabledEventArgs> InputEnabled;
function onInputEnabled(eventArgs) { /* Your code */ }
coreIndependentInputSource.addEventListener("inputenabled", onInputEnabled);
coreIndependentInputSource.removeEventListener("inputenabled", onInputEnabled);
- or -
coreIndependentInputSource.oninputenabled = onInputEnabled;
Public Custom Event InputEnabled As TypedEventHandler(Of Object, InputEnabledEventArgs) Implements InputEnabled

Tipo evento

Implementazioni

Si applica a