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
|