CoreComponentInputSource.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.
Raised when a character is received (such as from a completed key press sequence) by the hosted XAML element.
// 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)
Event Type
TypedEventHandler<IInspectable,CharacterReceivedEventArgs>