CoreWindow.KeyDown CoreWindow.KeyDown CoreWindow.KeyDown CoreWindow.KeyDown Event

Definition

Is fired when a non-system key is pressed.

public : event TypedEventHandler<CoreWindow, KeyEventArgs> KeyDown
// Register
event_token KeyDown(TypedEventHandler<CoreWindow, KeyEventArgs> const& handler) const;

// Revoke with event_token
void KeyDown(event_token const& cookie) const;

// Revoke with event_revoker
KeyDown_revoker KeyDown(auto_revoke_t, TypedEventHandler<CoreWindow, KeyEventArgs> const& handler) const;
public event TypedEventHandler<CoreWindow, KeyEventArgs> KeyDown
Public Event KeyDown As TypedEventHandler (Of CoreWindow, KeyEventArgs)

Remarks

Apps do not receive this event when an Input Method Editor (IME) is enabled. The Input Method Editor (IME) handles all keyboard input and sets Handled to true.

See also