共用方式為


CoreComponentInputSource.KeyUp 事件

定義

當目前作用中裝載的 XAML 元素放開按鍵按下時引發。

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

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

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

事件類型

適用於