CoreDispatcher.AcceleratorKeyActivated CoreDispatcher.AcceleratorKeyActivated CoreDispatcher.AcceleratorKeyActivated CoreDispatcher.AcceleratorKeyActivated Event

Definition

Fired when an accelerator key is activated (pressed or held down).

public : event TypedEventHandler<CoreDispatcher, AcceleratorKeyEventArgs> AcceleratorKeyActivated
// Register
event_token AcceleratorKeyActivated(TypedEventHandler<CoreDispatcher, AcceleratorKeyEventArgs> const& handler) const;

// Revoke with event_token
void AcceleratorKeyActivated(event_token const& cookie) const;

// Revoke with event_revoker
AcceleratorKeyActivated_revoker AcceleratorKeyActivated(auto_revoke_t, TypedEventHandler<CoreDispatcher, AcceleratorKeyEventArgs> const& handler) const;
public event TypedEventHandler<CoreDispatcher, AcceleratorKeyEventArgs> AcceleratorKeyActivated
Public Event AcceleratorKeyActivated As TypedEventHandler (Of CoreDispatcher, AcceleratorKeyEventArgs)

Remarks

XAML processes CTRL+TAB or CTRL+SHIFT+TAB key presses for tab navigation, and apps do not get a chance to handle them from the AcceleratorKeyActivated event. Starting in Windows 8.1, we will allow the tab navigation processing with CTRL+TAB or ALT+TAB or SHIFT+TAB.

If you handled the AcceleratorKeyActivated event in Windows 8 to do special processing, the event will get fired for Tab keys when invoked with CTRL, ALT, or SHIFT modifiers in Windows 8.1. Verify tab navigation with CTRL+TAB or ALT+TAB or SHIFT+TAB keys.