Dela via


CoreComponentInputSource.KeyUp Event

Definition

Raised when a key press is released for the current active hosted XAML element.

// Register
event_token KeyUp(TypedEventHandler<IInspectable, KeyEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
CoreComponentInputSource::KeyUp_revoker KeyUp(auto_revoke_t, TypedEventHandler<IInspectable, KeyEventArgs const&> const& handler) const;
public event TypedEventHandler<object,KeyEventArgs> KeyUp;
function onKeyUp(eventArgs) { /* Your code */ }
coreComponentInputSource.addEventListener("keyup", onKeyUp);
coreComponentInputSource.removeEventListener("keyup", onKeyUp);
- or -
coreComponentInputSource.onkeyup = onKeyUp;
Public Custom Event KeyUp As TypedEventHandler(Of Object, KeyEventArgs) 

Event Type

Applies to