CoreWindow.CharacterReceived Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Is fired when a new character is received by the input queue.
// 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
Event Type
Implements
Remarks
Apps do not receive this event when an Input Method Editor (IME) is enabled. The Input Method Editor (IME) handles all keyboard input and sets Handled to true.