다음을 통해 공유


InputKeyboardSource.SystemKeyDown 이벤트

정의

ALT 키도 누를 때 사용자가 키를 누를 때 발생합니다.

// Register
event_token SystemKeyDown(TypedEventHandler<InputKeyboardSource, KeyEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
InputKeyboardSource::SystemKeyDown_revoker SystemKeyDown(auto_revoke_t, TypedEventHandler<InputKeyboardSource, KeyEventArgs const&> const& handler) const;
public event TypedEventHandler<InputKeyboardSource,KeyEventArgs> SystemKeyDown;
function onSystemKeyDown(eventArgs) { /* Your code */ }
inputKeyboardSource.addEventListener("systemkeydown", onSystemKeyDown);
inputKeyboardSource.removeEventListener("systemkeydown", onSystemKeyDown);
- or -
inputKeyboardSource.onsystemkeydown = onSystemKeyDown;
Public Custom Event SystemKeyDown As TypedEventHandler(Of InputKeyboardSource, KeyEventArgs) 

이벤트 유형

설명

IME(입력 방법 편집기)가 사용하도록 설정된 경우 앱은 이 이벤트를 수신하지 않습니다. IME(입력 방법 편집기)는 모든 키보드 입력을 처리하고 Handled를 true로 설정합니다.

적용 대상

추가 정보