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) 

事件类型

适用于