Bagikan melalui


CoreWindow.CharacterReceived Kejadian

Definisi

Diaktifkan saat karakter baru diterima oleh antrean input.

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

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

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

Jenis Acara

Penerapan

Keterangan

Aplikasi tidak menerima peristiwa ini saat Editor Metode Input (IME) diaktifkan. Editor Metode Input (IME) menangani semua input keyboard dan set yang Ditangani ke true.

Berlaku untuk

Lihat juga