Compartir a través de


ICoreInputSourceBase.InputEnabled Evento

Definición

Se produce cuando la entrada está habilitada o deshabilitada para la aplicación para 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
ICoreInputSourceBase::InputEnabled_revoker InputEnabled(auto_revoke_t, TypedEventHandler<IInspectable, InputEnabledEventArgs const&> const& handler) const;
event TypedEventHandler<object,InputEnabledEventArgs> InputEnabled;
function onInputEnabled(eventArgs) { /* Your code */ }
iCoreInputSourceBase.addEventListener("inputenabled", onInputEnabled);
iCoreInputSourceBase.removeEventListener("inputenabled", onInputEnabled);
- or -
iCoreInputSourceBase.oninputenabled = onInputEnabled;
Event InputEnabled As TypedEventHandler(Of Object, InputEnabledEventArgs) 

Tipo de evento

Se aplica a