KeyboardDeliveryInterceptor.KeyUp Event

Definition

Occurs when a pressed keyboard key is released. State info and event data is routed through this event instead of CoreWindow.KeyUp.

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

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

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

Event Type

Windows requirements

App capabilities
inputForegroundObservation

Applies to

See also