KeyboardDeliveryInterceptor.KeyUp 事件

定义

释放按下的键盘键时发生。 状态信息和事件数据通过此事件而不是 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) 

事件类型

Windows 要求

应用功能
inputForegroundObservation

适用于

另请参阅