次の方法で共有


CoreComponentInputSource.CharacterReceived イベント

定義

ホストされている XAML 要素によって文字が受信されたときに発生します (完了したキーの押下シーケンスなど)。

// Register
event_token CharacterReceived(TypedEventHandler<IInspectable, CharacterReceivedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
CoreComponentInputSource::CharacterReceived_revoker CharacterReceived(auto_revoke_t, TypedEventHandler<IInspectable, CharacterReceivedEventArgs const&> const& handler) const;
public event TypedEventHandler<object,CharacterReceivedEventArgs> CharacterReceived;
function onCharacterReceived(eventArgs) { /* Your code */ }
coreComponentInputSource.addEventListener("characterreceived", onCharacterReceived);
coreComponentInputSource.removeEventListener("characterreceived", onCharacterReceived);
- or -
coreComponentInputSource.oncharacterreceived = onCharacterReceived;
Public Custom Event CharacterReceived As TypedEventHandler(Of Object, CharacterReceivedEventArgs) 

イベントの種類

適用対象