共用方式為


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

適用於

另請參閱