KeyboardDeliveryInterceptor.KeyUp 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
释放按下的键盘键时发生。 状态信息和事件数据通过此事件而不是 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
|