共用方式為


CoreWindow.InputEnabled 事件

定義

發生于為應用程式啟用或停用輸入時。

// 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
CoreWindow::InputEnabled_revoker InputEnabled(auto_revoke_t, TypedEventHandler<CoreWindow, InputEnabledEventArgs const&> const& handler) const;
public event TypedEventHandler<CoreWindow,InputEnabledEventArgs> InputEnabled;
function onInputEnabled(eventArgs) { /* Your code */ }
coreWindow.addEventListener("inputenabled", onInputEnabled);
coreWindow.removeEventListener("inputenabled", onInputEnabled);
- or -
coreWindow.oninputenabled = onInputEnabled;
Public Custom Event InputEnabled As TypedEventHandler(Of CoreWindow, InputEnabledEventArgs) Implements InputEnabled

事件類型

實作

適用於