ICoreAcceleratorKeys ICoreAcceleratorKeys ICoreAcceleratorKeys ICoreAcceleratorKeys Interface

Definition

Provides an interface that defines the basic behavior for an accelerator key.

public : interface ICoreAcceleratorKeys
public interface ICoreAcceleratorKeys
Public Interface ICoreAcceleratorKeys
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Events

AcceleratorKeyActivated AcceleratorKeyActivated AcceleratorKeyActivated AcceleratorKeyActivated

Defines the event that is fired when an accelerator key is pressed or activated.

public : event TypedEventHandler AcceleratorKeyActivated<CoreDispatcher,  AcceleratorKeyEventArgs>
public event TypedEventHandler AcceleratorKeyActivated<CoreDispatcher,  AcceleratorKeyEventArgs>
Public Event TypedEventHandler AcceleratorKeyActivated( Of ( Of CoreDispatcher ), ( Of  AcceleratorKeyEventArgs ))
function onAcceleratorKeyActivated(eventArgs){/* Your code */}


iCoreAcceleratorKeys.addEventListener("acceleratorKeyActivated", onAcceleratorKeyActivated);
iCoreAcceleratorKeys.removeEventListener("acceleratorKeyActivated", onAcceleratorKeyActivated);