Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AcceleratorKeyEventArgs class

Provides the arguments returned by an accelerator key event callback.

Syntax


public ref class AcceleratorKeyEventArgs sealed : ICoreWindowEventArgs

Members

The AcceleratorKeyEventArgs class has these types of members:

Properties

The AcceleratorKeyEventArgs class has these properties.

PropertyAccess typeDescription

DeviceId

Read-only

Gets a unique ID for the input device that generated this key event.

EventType

Read-only

Gets the type of the accelerator key event that invoked the callback.

Handled

Read/write

Gets or sets whether the accelerator key event was handled or not.

KeyStatus

Read-only

Gets the status of the accelerator key for which the event was raised.

VirtualKey

Read-only

Gets the virtual key code for the keypress in the accelerator key event.

 

Remarks

Windows 10:  

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

Windows Phone:  

This API is supported in native apps only.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Core
Windows::UI::Core [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8

Namespace

Windows.UI.Core
Windows::UI::Core [C++]

Metadata

Windows.winmd

Attributes

[MarshalingBehavior(Agile)]
[Version(0x06020000)]
[WebHostHidden()]

See also

Object
ICoreWindowEventArgs
AcceleratorKeyActivated

 

 

Show: