CoreAcceleratorKeys CoreAcceleratorKeys CoreAcceleratorKeys Class

Provides the basic behavior for an accelerator key.

Syntax

Declaration

public sealed class CoreAcceleratorKeyspublic sealed class CoreAcceleratorKeysPublic NotInheritable Class CoreAcceleratorKeys

Events summary

Fired when an accelerator key is pressed or activated.

Events

  • AcceleratorKeyActivated
    AcceleratorKeyActivated
    AcceleratorKeyActivated
    AcceleratorKeyActivated

    Fired when an accelerator key is pressed or activated.

    public event TypedEventHandler AcceleratorKeyActivatedpublic event TypedEventHandler AcceleratorKeyActivatedPublic Event AcceleratorKeyActivated

    Remarks

    Windows 10 Apps do not receive this event when an 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.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute
Windows.Foundation.Metadata.MuseAttribute
Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.UI.Core.dll