Udostępnij za pośrednictwem


KeyEventArgs.KeyStatus Property

Definition

Gets the status of a key at the time the event is fired.

CorePhysicalKeyStatus KeyStatus();
public CorePhysicalKeyStatus KeyStatus { get; }
var corePhysicalKeyStatus = keyEventArgs.keyStatus;
Public ReadOnly Property KeyStatus As CorePhysicalKeyStatus

Property Value

The status of the key.

Remarks

Windows 10 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.

Windows Phone This API is supported in native apps only.

Applies to

See also