CoreComponentInputSource.InputEnabled 事件

定义

为输入启用托管 XAML 控件时引发。

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

事件类型

实现

适用于