Share via


CharacterReceivedEventArgs Class

Definition

Contains event data for the InputKeyboardSource.CharacterReceived event.

public ref class CharacterReceivedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65540)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class CharacterReceivedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65540)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class CharacterReceivedEventArgs
Public NotInheritable Class CharacterReceivedEventArgs
Inheritance
Object Platform::Object IInspectable CharacterReceivedEventArgs
Attributes

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.

Properties

Handled

Gets or sets whether the InputKeyboardSource.CharacterReceived event was handled.

KeyCode

Gets the virtual-key code of the character received by the input queue.

KeyStatus

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

Applies to