Condividi tramite


ICoreWindow.InputEnabled Evento

Definizione

Specifica un evento che si verifica quando l'input è abilitato o disabilitato per la finestra.

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

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

// Revoke with event_revoker
ICoreWindow::InputEnabled_revoker InputEnabled(auto_revoke_t, TypedEventHandler<CoreWindow, InputEnabledEventArgs const&> const& handler) const;
event TypedEventHandler<CoreWindow,InputEnabledEventArgs> InputEnabled;
function onInputEnabled(eventArgs) { /* Your code */ }
iCoreWindow.addEventListener("inputenabled", onInputEnabled);
iCoreWindow.removeEventListener("inputenabled", onInputEnabled);
- or -
iCoreWindow.oninputenabled = onInputEnabled;
Event InputEnabled As TypedEventHandler(Of CoreWindow, InputEnabledEventArgs) 

Tipo evento

Si applica a