Udostępnij za pośrednictwem


CharacterReceivedEventArgs.KeyStatus Property

Definition

Gets the status of the physical key press that raised the character-received event.

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

Property Value

The status of the key that was pressed.

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